Displaying and maintaining SSH

Execute display commands in any view.

Task

Command

Display the source IP address configured for the SFTP client.

display sftp client source

Display the source IP address configured for the Stelnet client.

display ssh client source

Display SSH server status or sessions (centralized devices in standalone mode).

display ssh server { session | status }

Display SSH server status or sessions (distributed devices in standalone mode/centralized devices in IRF mode).

display ssh server { session [ slot slot-number ] | status }

Display SSH server status or sessions (distributed devices in IRF mode).

display ssh server { session [ chassis chassis-number slot slot-number ] | status }

Display SSH user information on the SSH server.

display ssh user-information [ username ]

Display the public keys of the local key pairs.

display public-key local { dsa | ecdsa | rsa } public [ name publickey-name ]

Display information about peer public keys.

display public-key peer [ brief | name publickey-name ]

Display algorithms used by SSH2 in the algorithm negotiation stage.

display ssh2 algorithm