1-14 
 
z  With the filename argument specified, you can export the RSA or DSA host public key to a file so 
that you can configure the key at a remote end by importing the file. If the filename argument is not 
specified, this command displays the host public key information on the screen in a specified 
format. 
z  The RSA host public key format can be SSH1, SSH2 and OpenSSH, while the DSA host public key 
format can be SSH2 and OpenSSH. DSA does not support the format of SSH1. 
 
Configuring the SSH Client 
The configurations required on the SSH client are related to the authentication mode that the SSH 
server uses. In addition, if an SSH client does not support first-time authentication, you need to 
configure the public key of the server on the client, so that the client can authenticate the server. 
SSH Client Configuration Task List 
Complete the following tasks to configure the SSH client: 
SSH client configuration task 
Scenario 
For a client running SSH 
client software 
For a client assumed by an 
SSH2-capable switch 
The authentication mode is 
password 
Configuring an SSH Client that 
Runs SSH Client Software
 
Configuring an SSH Client 
Assumed by an SSH2-Capable
 
Switch
 
The authentication mode is 
publickey 
Configuring an SSH Client that 
Runs SSH Client Software
 
Configuring an SSH Client 
Assumed by an SSH2-Capable
 
Switch
 
Whether 
first-authentication is 
supported 
— 
Configuring an SSH Client 
Assumed by an SSH2-Capable
 
Switch
 
 
Configuring an SSH Client that Runs SSH Client Software 
A variety of SSH client software are available, such as PuTTY and OpenSSH. For an SSH client to 
establish a connection with an SSH server, use the following commands: 
Complete the following tasks to configure an SSH client that runs SSH client software: 
Task  Remarks 
Generating a client key 
Required for publickey authentication; 
unnecessary for password authentication 
Specifying the IP address of the Server  Required 
Selecting a protocol for remote connection  Required 
Selecting an SSH version  Required