H3C S5500-EI series Operation Manual page 1379

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – SSH
H3C S5500-EI Series Ethernet Switches
II. Network diagram
Figure 1-11 Network diagram for SSH client configuration (using password
authentication)
III. Configuration procedure
1)
Configure the SSH server
# Create an RSA and DSA key pair and enable the SSH server.
<SwitchB> system-view
[SwitchB] public-key local create rsa
[SwitchB] public-key local create dsa
[SwitchB] ssh server enable
# Create 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
[SwitchB-ui-vty0-4] quit
# Create local user client001.
[SwitchB] local-user client001
[SwitchB-luser-client001] password simple aabbcc
[SwitchB-luser-client001] service-type ssh level 3
[SwitchB-luser-client001] quit
# Specify the service type for user "client001" as Stelnet, and the authentication method
as password.
[SwitchB]
password
2)
Configure the SSH client
# Configure an IP address for VLAN interface 1.
<SwitchA> system-view
ssh
user
client001
service-type
stelnet
1-25
Chapter 1 SSH Configuration
authentication-type

Advertisement

Table of Contents
loading

Table of Contents