Display and maintenance commands for SSH

Execute display commands in any view.

Task

Command

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 the source IP address configuration of the SCP client.

display scp client source

Display the source IP address configuration of the SFTP client.

display sftp client source

Display server public key information saved in the public key file on the SSH client.

display ssh client server-public-key [ server-ip ip-address ]

Display the source IP address configuration of the Stelnet client.

display ssh client source

Display SSH server status or sessions.

display ssh server { session | status }

Display SSH user information on the SSH server.

display ssh user-information [ username ]

Display algorithms used by SSH2 in the algorithm negotiation stage.

display ssh2 algorithm

For more information about the display public-key local and display public-key peer commands, see public key management commands in Security Command Reference.