3Com 10014302 Network Router User Manual


 
View
Public key edit view
Parameter
hex-data: Public key data, which is a hexadecimal character string coded in the public
key format.
Description
Using the hex command, you can input the public key data.
The public key that you input must be the one randomly generated by the SSH client
program. You are allowed to input spaces in the character string to separate the
characters, generally according to the format that the public key data are arranged,
for the purpose of convenient input and later check.
After inputting all the public key data, use the public-key-code end command to end
the editing of the public key. Before saving the key, the system will verify the validity of
the key. If there is any illegal character in the character string, the system will prompt
that it will discard all the public key data configured by the user due to the presence of
illegal characters and will return to the public key view from the current view. In this
case, you can access the public key edit view again using the public-key-code
begin command and input new public key data using the hex command.
For related commands, see public-key-code begin, and public-key-code end.
Example
Input invalid character string when configuring a public key.
[3Com] rsa peer-public-key mykey
[3Com-rsa-public] public-key-code begin
[3Com-rsa-key-code] hex abcdefg
% Invalid input.
[3Com-rsa-key-code] public-key-code end
% Invalid key string, the length is zero.
Input a valid character string when configuring a public key.
[3Com] rsa peer-public-key mykey
[3Com-rsa-public-key] public-key-code begin
[3Com-rsa-key-code] hex 308186
[3Com-rsa-key-code] hex 028180
[3Com-rsa-key-code] hex E75E3D7C 11923D33 143FB829 470EA018 889147F6 6 F27A98A
D6C54A36
3Com Router Command Reference Guide Addendum for V1.2
54