Operation Manual - SSH Terminal Services 
Quidway S5600 Series Ethernet Switches-Release 1510  Chapter 1  
SSH Terminal Services
 
Huawei Technologies Proprietary 
1-9 
Operation  Command  Description 
Assign public key to 
SSH user 
ssh user username  assign 
rsa-key keyname 
Required 
Keyname is the name of 
an existing public key. If 
the user already has a 
public key, the new 
public key overrides the 
old one.  
 
  Note: 
By this method, it is necessary to use software to convert public key format at the client 
and assign the converted public keys to SSH users one by one.  
 
2)  Use command to assign public keys automatically 
Operations at client end:  
z  Use SSH1.5/2.0 client software to generate random RSA key pair. 
z  Use FTP/TFTP to transfer the public key fil to the Flash memory of the server. 
Operations at server end:  
Table 1-7 Use command to assign public keys automatically 
Operation  Command  Description 
Enter system view 
system-view 
- 
Convert public key 
format and 
automatically assign 
public key 
rsa peer-public-key 
key-name  import sshkey 
file-name 
The field filename must 
be consistent with the 
name of the public key 
file sent to the Flash 
memory. 
 
  Note: 
By this method, it is not necessary to assign public keys to SSH users one by one. This 
method is recommended. 
 
VI. Specifying source IP address for sending traffic packets 
The following configurations specify source IP address or source interface for SSH 
Server, and have enhanced the manageability of the traffic.