461
mdc-operator
Parameters
server-ip
ip-address
: Specifies the IP address of the server whose public key information will be
displayed. If you do not specify a server IP address, this command displays the public keys of all
servers saved in the client's public key file.
Usage guidelines
When a user connects to an unauthenticated server and selects to save the server's public key, the
server public key will be saved to the public key file. Server public key information saved in the public
key file is not available in the configuration file. To display such server public key information on the
SSH client, you must use this command.
Examples
# Display all server public keys saved in the public key file of the SSH client.
<Sysname> display ssh client server-public-key
Server address: 10.153.124.209
Key type: ecdsa-sha2-nistp256
Key length: 256
Key code:
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAOGpJfwJExK
eYb53KKqmrZ0V/XnYZKZEchyNtoIXHeW5NfBE5ymeklPSNgQNhcndkU/
422fT15UmgM=
Server address: 2.2.2.1
Key type: rsa
Key length: 1024
Key code:
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDIUrHbeLx/W7xElB1Ny3zeA8/uV9K6sj1p
dSlhx5XcOatdNMoD/sioYgSsy9Ivadqx/wCCB5+T2GLLu2qv
RR/9Y8fI2b4tS7PoNf/QKDVdqd0t74cp8ZEUQdAoTeDzzaAh
7t6FbxrNrQ==
# Display the public key of server 2.2.2.1 saved in the public key file of the SSH client.
<Sysname> display ssh client server-public-key server-ip 2.2.2.1
Server address: 2.2.2.1
Key type: rsa
Key length: 1024
Key code:
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDIUrHbeLx/W7xElB1Ny3zeA8/uV9K6sj1p
dSlhx5XcOatdNMoD/sioYgSsy9Ivadqx/wCCB5+T2GLLu2qv
RR/9Y8fI2b4tS7PoNf/QKDVdqd0t74cp8ZEUQdAoTeDzzaAh
7t6FbxrNrQ==
Table 63 Command output
Field
Description
Server address
IP address of the SSH server.
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...