3Com 4500 50-PORT Switch User Manual


 
SSH Client Configuration Commands 429
Parameter
None
Description
Use the peer-public-key end command to exit from the public key view and return
to the system view.
Related commands: rsa peer-public-key, public-key-code begin.
Example
To exit the public key view, enter the following:
[SW4500]rsa peer-public-key SW4500003
[SW4500-rsa-public-key]peer-public-key end
[SW4500]
public-key-code begin Syntax
public-key-code begin
View
Public key view
Parameter
None
Description
Use the public-key-code begin command to enter the public key edit view and
input the public key of the server.
When inputting the public key, you may type spaces between the characters (the
system will delete the spaces automatically), or press <Enter> and then continue
to input the key.
The public key must be a hexadecimal string coded in the public key format. The
public key of the server is generated by the rsa local-key-pair create command.
Related commands: rsa peer-public-key, public-key-code end
Example
To enter the public key edit view and input the public key of the server, enter the
following:
[SW4500]rsa peer-public-key SW4500003
[SW4500-rsa-public-key]public-key-code begin
[SW4500-key-code]308186028180739A291ABDA704F5D93DC8FDF84C427463
[SW4500-key-code]1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[SW4500-key-code]D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
[SW4500-key-code]0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
[SW4500-key-code]C48E3306367FE187BDD944018B3B69F3CBB0A573202C16