3com 8807 Reference Guide

Page of 1099
SSH Server Configuration Commands
949
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] user-interface vty 0
 
[3Com-ui-vty0] protocol inbound ssh 
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 client. Note that you must use the rsa peer-public-key 
command to specify a client key name before performing this command.
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. Note that the public key must be a hexadecimal string coded in 
the public key format and is randomly generated by the SSH 2.0-enabled client 
software or the client switch.
Related command: rsa peer-public-keypublic-key-code end.
Example
# Enter the public key edit view and input the key.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] rsa peer-public-key sw8800003
 
[3Com-rsa-public-key] public-key-code begin
 
RSA key code view: return to last view with "public-key-code end".
 
[3Com-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
 
[3Com-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
 
[3Com-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
 
[3Com-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
 
[3Com-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16
 
[3Com-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125
 
[3Com-key-code] public-key-code end
 
[3Com-rsa-public-key] 
public-key-code end
Syntax
public-key-code end
View
Public key edit view
Parameter
None