Command Reference Guide

3Com Router 5000 Family and Router 6000 Family rsa peer-public-key 325
Command Reference
rsa peer-public-key
Purpose Use the rsa peer-public-key command to enter public key view. After that, you
may use the public-key-code begin command and the public-key-code
end command to configure the public key of the client.
Use the rsa peer-public-key keyname import sshkey filename
command to convert the format of an RSA public key file generated at the SSH client
to PKCS format and to complete the configuration of the key automatically.
Syntax rsa peer-public-key key-name
rsa peer-public-key key-name import sshkey filename
Parameters key-name
Name of the public key.
filename
Name of the key file to be imported from Flash. The
file must have exisited on Flash.
Example Enter public key view.
[3Com] rsa peer-public-key 3Com002
[3Com-rsa-public-key]
Convert and configure the RSA public key of the client.
[3Com] rsa peer-public-key 123 import sshkey pub2
View This command can be used in the following views:
System view
Description Before performing those operations, you must obtain the RSA public key file
generated at the SSH client and use SSHKEY.EXE software to convert the generated
public key to a hexadecimal character string.
The following is an alternative way of configuring the public key of the client.
Unlike the rsa peer-public-key command, the rsa peer-public-key
keyname import sshkey filename command does not involve manual
configuration. However, it requires that the device functioning as the SSH client have
upload its RSA public key to the Flash at the SSH server end through FTP or TFTP.
The SSH client discussed here refers to both SSH 1.0 client and SSH 2.0 client.
Related Commands: public-key-code begin
public-key-code end