beautypg.com

Displaying ssh connections, Cli command, Sample output – Avaya 580 User Manual

Page 121: Using the ssh client

background image

Document No. 10-300077, Issue 2

4-9

Security

Displaying SSH Connections

CLI Command

To display current SSH sessions, use the following CLI command:

#

show ssh sessions

To end an SSH session, use the following CLI command:

(configure)#

clear ssh

This functionality is available only in the CLI. You cannot use the Web
Agent to display all current SSH sessions.

Sample Output

Sample output of the show ssh sessions command is as follows:

SessionId User RemoteIp:Port

---------- ---------- --------------

0 jsmith 10.10.6.100:1760

1 sjensen 10.10.8.110:1770

2 gschroeder 10.10.7.130:1771

3 tblair 10.10.6.100:1777

Using the SSH Client

You can use the SSH client to connect to an SSH server that is running on
another machine.

To establish an SSH connection to a remote host, use the following CLI
command:

(configure)#

ssh [cipher {3des-cbc | blowfish-cbc}] [port

port>] [user ] { | }

If you do not specify a cipher, the client can use either cipher. Normally, if
the remote host supports 3DES, that is the cipher that is used. If you do not
specify a TCP port, the client uses port 22. Valid ports are 22 and 9000 to
65,535.

This manual is related to the following products: