ssh connection

Killing a dead ssh connection - Evert Pot

Planet PHP  Sat, 09/25/2010 - 06:00

One feature telnet has and I always missed from ssh was the ^] shortcut, giving you a way to terminate the connection.

ssh has a similar feature.

If you setup 'escape characters', you can terminate the connection by typing '~.' Just add the following to your .ssh/config:

  1. Host *
  2. EscapeChar ~

You can change the character here too, but ~ is the default and a sensible one.


 

Useful Tricks With Screen

Linux Today  Tue, 07/07/2009 - 22:34

Tip of theTrade: "It's handy if you're using a console rather than an xterm, or if you're connected to another machine, as it means you can do multiple things at once without having to move to another console or open another ssh connection."