SSH Break - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +--- Thread: SSH Break (/thread-1244.html) |
SSH Break - znx - 2007-07-20 Being very used to killing telnet connections with Ctrl+] (or ^]) then quit, I wanted a simpler method with SSH. Basically what this is for is, lets say your remote shell has hung up on you. Normally what I would do is open another shell and kill the process. This is obviously a pain to keep doing. A quick bit of googling and I found this: [/url][url=http://www.theclonchs.com/wiki/SSHBreak]http://www.theclonchs.com/wiki/SSHBreak You can either edit the global ssh_config as the example in that URL says (/etc/ssh/ssh_config) or in the local user configuration (~/.ssh/config). So to test that you have it working properly do: Code: mark@tone ~ % ssh localhost So I typed Enter ~. and it quit. No more hung ssh connections! YAY SSH Break - xDamox - 2007-07-21 Cool tip znx :) |