diff --git a/README.md b/README.md index 1ba99a0..67df5c1 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/zsh/killing-a-frozen-ssh-session.md b/zsh/killing-a-frozen-ssh-session.md new file mode 100644 index 0000000..900bc98 --- /dev/null +++ b/zsh/killing-a-frozen-ssh-session.md @@ -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: + +``` +~. +``` + +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)