For a terminal connection taken with sshg3, probably the easiest way to find out this, and more, is using escape sequences. Escape sequences consist of the escape character followed by a command character. The default escape character is
Enter a newline, i.e. press Enter first, then type
So, to see this information you'll press enter and then type
In this case, the encryption algorithm is 128-bit AES in CBC mode, together with the MD5 hash message authentication code.
Another way of doing this by using Tectia Connection Broker:
List the open connections by running:
Find the connection id from the output above and query the connection details by running:
The output will be something like:
The cipher in use for the connection will be under Transport cipher: in this case email@example.com
answered Oct 07 '09 at 20:51
When I type ~? , I got the below options.
-bash-3.2$ ~? Supported escape sequences: ~. - terminate connection ~B - send a BREAK to the remote system ~C - open a command line ~R - Request rekey (SSH protocol 2 only) ~^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 newline.)
I don't see anything ~S . Could you please let me know why I am not able to see it.
answered Mar 14 '14 at 00:23