The display ssh server-info command displays the binding between the SSH server and the public key (RSA/DSA/ECC/SM2) that has connected or is connecting with current SSH client.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ssh server-info
----------------------------------------------------------------------------------------------------------------
Server Name(IP) Server public key name Server public key type State
----------------------------------------------------------------------------------------------------------------
2001:db8:2::2 2001:db8:2::2 RSA CONFIGURE
10.164.39.223 10.164.39.223 RSA CONFIGURE
192.168.1.1 192.168.1.1 RSA CONFIGURE
----------------------------------------------------------------------------------------------------------------
Item | Description |
---|---|
Server Name(IP) | Indicates the name of the server. It displays the IP address. |
Server public key name | Indicates the public key name of the server. |
Server public key type | Indicates the public key type of the server. |
State | Indicates the server key state:
|