1-24
rsa peer-public-key import sshkey
Syntax
rsa peer-public-key keyname import sshkey filename
undo rsa peer-public-key
keyname
View
System view
Parameters
keyname
: Name of the public key to be configured, a string of 1 to 64 characters.
filename
: Name of a public key file, a string of 1 to 142 characters. For file naming rules, refer to
File
System Management Command
.
Description
Use the
rsa peer-public-key
import sshkey
command to import a peer public key from the public key
file.
Use the
undo rsa peer-public-key
command to remove the setting.
After execution of this command, the system automatically transforms the public key file into PKCS
format, and imports the peer public key. This requires that you get a copy of the public key file from the
peer through FTP/TFTP.
z
Only public key files in the format of SSH1 or SSH2 are supported.
z
Currently, only public keys with the modulues being in the range 512 to 2048 bits can be imported
to the switch.
z
You may use this command to configure an SSH peer’s public key on the current switch. After you
issue this command, the system will automatically identify the format of the public key, transforms
the public key into the PKCS format, and saves the public key locally. This public key configuration
method requires that the public key file be uploaded to the current switch through FTP or TFTP.
The
rsa peer-public-key import sshkey
command can transform only RSA public keys. If you want
DSA public keys to be transformed and configured automatically, use the
public-key peer import
sshkey
command.
Examples
# Transform the format of client public key file abc and configure a public key named 123.
<Sysname> system-view
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...