Ssh Server Configuration Examples; When Using Password Authentication - H3C S5500-EI Series Operation Manual

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

Advertisement

Operation Manual – SSH
H3C S5500-EI Series Ethernet Switches
Display the mappings between
host public keys and SSH
servers saved on a client
Display information about a
specified or all SSH users on the
SSH server

1.5 SSH Server Configuration Examples

1.5.1 When Using Password Authentication

I. Network requirements
As shown in
(SSH client) and the switch (SSH server) for secure data exchange.
Password authentication is required.
II. Network diagram
SSH client
192.168.0.2/24
Host
Figure 1-2 Network diagram for SSH server configuration (using password
authentication)
III. Configuration procedure
Configure the SSH server
# Generate RSA and DSA key pairs and enable the SSH server.
<Switch> system-view
[Switch] public-key local create rsa
[Switch] public-key local create dsa
[Switch] ssh server enable
# Configure an IP address for VLAN interface 1. This address will serve as the
destination for the SSH client in connecting the server.
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 192.168.1.40 255.255.255.0
[Switch-Vlan-interface1] quit
# Set the authentication mode for the user interface to AAA.
[Switch] user-interface vty 0 4
To do...
Figure
1-2, a local SSH connection is established between the host
SSH server
Vlan-int1
192.168.0.1/24
1-16
Use the command...
display ssh server-info
display ssh
user-information
[ username ]
Switch
Chapter 1 SSH Configuration
Remarks
Available in any
view
Available in any
view

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3610 seriesS5510 series

Table of Contents