next up previous contents
Next: ssh-keygen: password-less SSH login Up: slogin, ssh: Secure telnet Previous: slogin, ssh: Secure telnet   Contents

Escape sequences

During your SSH session, you may want to come back to your original shell, without breaking your connection. A series of escape sequences allow you to perform that function:
Supported escape sequences:
~ . - terminate connection
~ ^ Z - suspend ssh
~ # - list forwarded connections
~ & - background ssh (when waiting for connections to terminate)
~ ? - this message
~ ~ - send the escape character by typing it twice
(Note that escapes are only recognized immediately after a newline.)

For example, to suspend a current SSH session:

~ ^ Z
(that's tilde, followed by CTRL-Z). To resume execution of the session:
fg

If, for some reason, there are network problems, the current SSH session ``hangs", and you want to disconnect from it:

~ .



Claude Cantin 2010-10-24