1-24 
To do...  Use the command...  Remarks 
Display the mappings between 
host public keys and SSH 
servers saved on a client 
display ssh server-info 
Display the current source IP 
address or the IP address of 
the source interface specified 
for the SSH Client. 
display ssh2 source-ip 
 
Comparison of SSH Commands with the Same Functions  
After the SSH protocol supports the DSA asymmetric key algorithm, some SSH configuration 
commands are changed. For the sake of SSH configuration compatibility, the original commands are 
still supported. 
Table 1-2 lists both the original commands and current commands. 
Table 1-2 List of SSH configuration commands with the same functions  
Operation  Original commands  Current commands 
Display local RSA public 
keys 
display rsa local-key-pair public
display public-key local rsa 
public 
Display information about 
the peer RSA public keys 
display rsa peer-public-key 
[ brief | name keyname ] 
display public-key peer [ brief | 
name pubkey-name ] 
Generate RSA key pairs 
rsa local-key-pair create  public-key local create rsa 
Destroy RSA key pairs  
rsa local-key-pair destroy  public-key local destroy rsa 
Enter public key view  
rsa peer-public-key keyname public-key peer keyname 
Import RSA public key from 
public key file  
rsa peer-public-key keyname 
import sshkey filename 
public-key peer keyname 
import sshkey filename 
Specify publickey 
authentication as the 
default authentication type 
for all SSH clients 
ssh authentication-type default 
rsa  
ssh authentication-type 
default publickey 
Specify on the client the 
host public key of the 
server to be connected  
ssh client { server-ip | 
server-name } assign rsa-key 
keyname 
ssh client { server-ip | 
server-name } assign publickey 
keyname 
Assign a public key to an 
SSH user  
ssh user username assign 
rsa-key keyname 
ssh user username assign 
publickey keyname 
Create an SSH user and 
specify publickey 
authentication as its 
authentication type  
ssh user username 
authentication-type rsa  
ssh user username 
authentication-type publickey