
1-3
Description
Use the
display public-key peer
command to display information about locally saved public keys of
the SSH peers. If no key name is specified, the command displays detailed information about the locally
saved public keys of all SSH peers.
The
display public-key peer
command on the SSH server displays the locally saved public keys of
SSH clients while the command on the SSH client displays the locally saved keys of the SSH servers.
Sometimes the public key modulus displayed with the
display public-key peer
command is one bit
smaller than the actual modulus. This is because the actually generated key pair is one bit smaller than
specified. For example, when you specify a 1024-bit key pair, the actually generated key pair may have
1024 or 1023 bits.
You can configure an SSH peer’s public key on the current switch by using the
public-key peer
command or the
public-key peer import sshkey
command.
Related commands:
public-key peer
,
public-key peer import sshkey
.
Examples
# Display brief information about all peer public keys.
<Sysname> display public-key peer brief
Type Module Name
---------------------------
RSA 1023 idrsa
DSA 1024 127.0.0.1
RSA 1024 18
# Display the information about the public key named pubkey-name.
<Sysname> display public-key peer name pubkey-name
=====================================
Key name : pubkey-name
Key type : RSA
Key module: 1024
=====================================
Key Code:
30819D300D06092A864886F70D010101050003818B00308187028181009C46A8710216CEC0C01C7CE136BA76
C79AA6040E79F9E305E453998C7ADE8276069410803D5974F708496947AB39B3F39C5CE56C95B6AB7442D563
93BF241F99A639DD02D9E29B1F5C1FD05CC1C44FBD6CFFB58BE6F035FAA2C596B27D1231D159846B7CB9A775
7C5800FADA9FD72F65672F4A549EE99F63095E11BD37789955020123
Содержание 5500-EI Series
Страница 43: ...2 6 ...
Страница 76: ...1 17 ...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 519: ...iii ...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Страница 1111: ...ii xmodem get 3 18 ...
Страница 1314: ...A 44 Z ...