< Home

display ssh server-info

Function

The display ssh server-info command displays the binding between SSH servers and RSA, DSA, or ECC public keys when the current device works as an SSH client.

Format

display ssh server-info

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

When the SSH client needs to authenticate the server, the server public key saved in the local host is used to authenticate the connected SSH server. If the authentication fails, you can run the display ssh server-info command to check that the server public key is correct.

Example

# Display all bindings between the SSH servers and public keys on the SSH client.

<HUAWEI> display ssh server-info
Server Name(IP)                  Server Public Key Type  Server public key name
______________________________________________________________________________

192.168.50.207                   RSA                     192.168.50.207
192.168.50.204                   DSA                     192.168.50.204
192.168.50.208                   ECC                     192.168.50.208
Table 1 Description of the display ssh server-info command output

Item

Description

Server Name(IP)

Host name of the SSH server.

Server Public Key Type

Type of the public key on the SSH server.

Server public key name

Name of the public key on the SSH server.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >