1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 16:48:01 +00:00
Files
til/zsh/killing-a-frozen-ssh-session.md
2015-03-26 13:12:29 -05:00

15 lines
402 B
Markdown

# Killing A Frozen SSH Session
Whenever an SSH session freezes, I usually mash the keyboard in desperation
and then kill the terminal session. This can be avoided though. SSH will
listen for the following kill command:
```
~.<cr>
```
This will kill the frozen SSH session and leave you in the terminal where
you were before you SSH'd.
source: [Jack C.](http://hashrocket.com/team/jack-christensen)