Ver
Encry
State
Retry
SerType
Username
display ssh server-info
Syntax
display ssh server-info
View
Any view
Parameters
None
Description
Use the display ssh server-info command on an SSH client to display the mappings between SSH
servers and their public keys saved on the client.
If an SSH client needs to authenticate the SSH server, it uses the locally saved public key of the server
for authentication. In case the authentication fails, you can use the display ssh server-info command
to view whether the locally saved public key of the server is correct.
Related commands: ssh client assign, ssh client first-time enable.
Examples
# Display the mappings between SSH servers and their public keys saved on the client.
<Sysname> display ssh server-info
Server Name(IP)
_________________________________________________________________________
192.168.0.90
Field
SSH version
Encryption algorithm used by SSH
Session status
Number of connection retries
Service type
User name
Server public key name
192.168.0.90
1-6
Description