For example: - Can I query the installed server version from the client? - If both OpenSSH and Tectia Client/Server are running on the server, can I identify which is being used for specific open connections? |
Use the statistics escape sequenceOnce you are logged on to the remote server, on the terminal run this command:
Note that you need to press space after the ~ character (to invoke the escape sequence) and this needs to be the first character after a newline (pressing backspace and trying again will not work) This will show you something like this:
Typing the escape sequence ~? will show you a list of available escape sequences: sshg3: SSH Tectia Client 6.1.0 on x86_64-unknown-linux-gnu Build: 615 Product: SSH Tectia Client License type: commercial Supported escape sequences: ~. - terminate connection ~^Z - suspend ssh ~# - list forwarded connections ~- - disable escape character uncancellably ~? - this message ~~ - send the escape character by typing it twice ~V - dump version information to stderr ~s - dump statistics and connection information to stderr ~c - dump statistics and information about individual channels ~r - initiate rekey immediately with old algorithms (ie. changes encryption and integrity keys) ~l - go to line mode (keystrokes are gathered to an internal buffer, and will be output all at once when you enter a newline) (Note that escapes are only recognized immediately after newline.) |
Use telnetAnother way to see what is running on the server side is running the telnet command to port 22 for the particular server such as:
This will output something like this (if an SSH server is running on that port):
|
Use % ssh-broker-ctl lc 1. example.org port 22 as joe [#408] Open since Tue Oct 13 11:36:12 2009 [up 7 days 02:17:42] 3 open channels. to list your connection, find your connection to the specified host and use % ssh-broker-ctl cs 408 example.org port 22 as joe [#408] Server version: SSH-2.0-6.1.0.668 SSH Tectia Server Open since Tue Oct 13 11:36:12 2009 [up 7 days 02:17:49] ... |