Operation Manual – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Configuration
1-14
Table 1-11
Follow these steps to export the RSA public key:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Display the RSA key on the
screen in a specified format or
export it to a specified file
public-key local export
rsa
{
openssh
|
ssh1
|
ssh2
}
[
filename
]
Required
Table 1-12
Follow these steps to export the DSA public key:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Display the DSA key on the
screen in a specified format or
export it to a specified file
public-key local export dsa
{
openssh
|
ssh2
}
[
filename
]
Required
Note:
The DSA public key format can be SSH2 and OpenSSH, while the RSA public key
format can be SSH1, SSH2 and OpenSSH.
1.4 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.
1.4.1 SSH Client Configuration Task List
Table 1-13
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