3com 4500 PWR 50-PORT Manual De Usuario

Descargar
Página de 466
SSH Client Configuration Commands
431
<SW4500>quit
rsa peer-public-key
Syntax
rsa peer-public-key key-name
View
System View
Parameter
key-name:
 The name of the public key of the server, which is a string consisting of 
1 to 64 characters.
Description
Use the 
rsa peer-public-key 
command to enter the public key view.
Performing this command, you can enter the public key view. Then you can use 
the 
public-key-code begin 
command to configure the public key of the server 
on the client. The public key of the server is generated by the 
rsa 
local-key-pair create
 command.
Related commands: 
public-key-code begin, public-key-code end
Example
To enter the public key view named SW4500002, enter the following:
[SW4500]rsa peer-public-key SW4500002
 
[SW4500-rsa-public-key]
ssh client assign rsa-key 
Syntax
ssh client { server-ip | server-name } assign rsa-key keyname
undo ssh client server-ip assign rsa-key
View
System View
Parameter
server-ip:
 The IP address of the SSH server.
server-name
: The name of the SSH server, which is a string consisting of 1 to 80 
characters.
keyname:
 The name of the public key of the server, which is a string consisting of 
1 to 64 characters.