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:
@@ -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)
|
||||
|
||||
|
||||
14
zsh/killing-a-frozen-ssh-session.md
Normal file
14
zsh/killing-a-frozen-ssh-session.md
Normal 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)
|
||||
Reference in New Issue
Block a user