HN Hall of Fame Weekly email

How to kill an unresponsive SSH session

www.laszlo.nu Books & learning Tutorials & guides Web & internet Candidate
Screenshot of www.laszlo.nu captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
4
submitters
3
observed span
2010–2016
peak thread · 109 comments
209 pts
latest 20+ return · 2013-07-26
209 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Read the SSH man pages every so often, even if you think you know how to use it. There's a lot of features in there. Don't miss the "AUTHORIZED_KEYS FILE FORMAT" in sshd's man page for the uber-cool "command='command'" options for authorized keys (restricts a given key to just be able to run a certain command, very useful). See also SSH's port forwarding, -D, learn how to use ssh-agent, and "man ssh_config".

jerf·209-point thread·

There's a whole bunch of other characters you can call prefixed with the Tilde (~) as well. My favorite is often ~^Z (That's tilde+Control-Z), which puts the SSH session in the background and drops you back to the host machine. You can hit ~? for a list. One other very, very useful one is ~#, which lists all forwarded connections - if you've setup X11 Forwarding or any port forwarding it lists the details for you. Of course - if…

rit·122-point thread·

Why two identical stories in one day? What is different from https://news.ycombinator.com/item?id=11117376 ?

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
334

reference only — not used in Hall rules or ranking

Total comments
142

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2010-04-27How to kill an unresponsive ssh sessionFirst breakoutique12232
2013-07-26How to kill an unresponsive SSH sessionBest thread · Latest 20+ point returnoarmstrong209109
2016-02-17How to kill an unresponsive SSH sessionandrelaszlo20
2016-02-18How to kill an unresponsive SSH sessionandrelaszlo11