H3C S3610-28P Operation Manual page 1403

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – SSH
H3C S3610&S5510 Series Ethernet Switches
1.6.2 When Using Publickey Authentication
I. Network requirements
As shown in
(the SSH server) through SSH protocol.
Publickey authentication is used; the algorithm is RSA.
II. Network diagram
Figure 1-14 SSH client configuration (using publickey authentication)
III. Configuration procedure
1)
Configure the SSH server
# Generate an RSA key pair and enable SSH server.
<SwitchB> system-view
[SwitchB] public-key local create rsa
[SwitchB] ssh server enable
# Configure an IP address for VLAN-interface 1, which the SSH client will use as the
destination for SSH connection.
[SwitchB] interface vlan-interface 1
[SwitchB-Vlan-interface1] ip address 10.165.87.136 255.255.255.0
[SwitchB-Vlan-interface1] quit
# Set the authentication mode for the user interface to AAA.
[SwitchB] user-interface vty 0 4
[SwitchB-ui-vty0-4] authentication-mode scheme
# Enable the user interface to support SSH.
[SwitchB-ui-vty0-4] protocol inbound ssh
# Set the user command privilege level to 3.
[SwitchB-ui-vty0-4] user privilege level 3
[SwitchB-ui-vty0-4] quit
Figure
1-14, Switch A (the SSH client) needs to log on to Switch B
1-28
Chapter 1 SSH Configuration

Advertisement

Table of Contents
loading

Table of Contents