1-13
With the filename argument specified, you can export the RSA 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.
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
Opening an SSH connection with password
authentication
Required for password authentication;
unnecessary for publickey authentication