1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Killing A Frozen SSH Session as a zsh til.

This commit is contained in:
jbranchaud
2015-03-26 13:12:29 -05:00
parent 5fb2f27009
commit 1e2db4ab53
2 changed files with 15 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
### zsh
- [Clear The Screen](zsh/clear-the-screen.md)
- [Killing A Frozen SSH Session](zsh/killing-a-frozen-ssh-session.md)
- [Search History](zsh/search-history.md)
- [Where Are The Binaries?](zsh/where-are-the-binaries.md)

View File

@@ -0,0 +1,14 @@
# 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)