Ssh server configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 312

298
SSH server configuration examples
When the AC acts as an SSH server for password
authentication
Network requirements
As shown in
, the host (the SSH client) and the AC (the SSH server) can reach each other. The
host runs SSH client software to log into the AC for configuration. Password authentication is used.
Figure 126 Network diagram
Configuration procedure
1.
Configure the SSH server:
# Generate RSA key pairs and enable SSH server.
[AC] public-key local create rsa
[AC] ssh server enable
# Configure an IP address for VLAN-interface 2, which the SSH client will use as the destination for
SSH connection.
[AC] interface vlan-interface 2
[AC-Vlan-interface2] ip address 192.168.1.40 255.255.255.0
[AC-Vlan-interface2] quit
# Set the authentication mode for the user interfaces to AAA.
[AC] user-interface vty 0 4
[AC-ui-vty0-4] authentication-mode scheme
# Enable the user interfaces to support SSH.
[AC-ui-vty0-4] protocol inbound ssh
[AC-ui-vty0-4] quit
# Create local user client001, and set the user command privilege level to 3.
[AC] local-user client001
[AC-luser-client001] password simple aabbcc
[AC-luser-client001] authorization-attribute level 3
[AC-luser-client001] service-type ssh
[AC-luser-client001] quit
# Specify the service type for user client001 as stelnet, and the authentication mode as password.
[AC] ssh user client001 service-type stelnet authentication-type password
2.
Configure the SSH client:
There is a variety of SSH client software, such as PuTTY and OpenSSH. The following example
uses an SSH client that runs Putty version 0.58.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C S10500 Series Switches H3C S5800 Series Switches H3C S5820X Series Switches H3C S12500 Series Switches H3C S9500E Series Switches H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C SR8800 H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000