SSH
H3C Low-End Ethernet Switches Configuration Examples
Chapter 2 SSH Configuration Commands
2-1
Chapter 2 SSH Configuration Commands
2.1 SSH Configuration Commands
To implement SSH, you need to configure the SSH client and the SSH server correctly.
The subsequent sections describe SSH configuration commands on the switch. For
more information, refer to the
SSH Operation
Manual
.
2.2 Configuring an H3C Switch as an SSH Server
2.2.1 Configuration Procedure
Table 2-1
Configure the switch as an SSH server
Role
Common
configur
ation
Authenticatio
n type
Public key
configuration
Remarks
Password
authentication
—
For detailed
command, refer
to
Password
authentication.
Configure a
public key
manually:
copy the
public key
from the
client public
key file to
the SSH
server.
For detailed
commands, refer
to
Configuring
the client RSA
public key
manually .
SSH
server
For
detailed
command
, refer to
Common
configurat
ion.
RSA
authentication
Import a
public key:
import the
public key
from the
client public
file to the
SSH server
through
commands.
Associat
e the
client
public
key
saved
on the
SSH
server to
the SSH
client
For detailed
commands, refer
to Importing the
client RSA public
key .
I. Precautions for authentication type configuration
The above table introduces the password authentication and RSA authentication
separately. In practice, you can combine the two authentication types.