Rsa Peer-Public-Key Import Sshkey - 3Com 5500-EI PWR Reference Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

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.
Only public key files in the format of SSH1 or SSH2 are supported.
Currently, only public keys with the modulues being in the range 512 to 2048 bits can be imported
to the switch.
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
1-24

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents