H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 328

314
[AC2-ui-vty0-4] authentication-mode scheme
# Enable the user interfaces to support SSH.
[AC2-ui-vty0-4] protocol inbound ssh
[AC2-ui-vty0-4] quit
# Create local user client001.
[AC2] local-user client001
[AC2-luser-client001] password simple aabbcc
[AC2-luser-client001] authorization-attribute level 3
[AC2-luser-client001] service-type ssh
[AC2-luser-client001] quit
# Configure the AC to authenticate SSH users by using password authentication and provide SFTP
services.
[AC2] ssh user client001 service-type sftp authentication-type password
NOTE:
To use publickey authentication, configure the public key of AC 1 on AC 2. For configuration steps, see
"
Configuring SSH2.0
."
# Enable the SFTP server.
[AC2] sftp server enable
2.
Configure the client (AC 1):
# Configure an IP address for VLAN-interface 2.
[AC1] interface vlan-interface 2
[AC1-Vlan-interface2] ip address 192.168.0.2 255.255.255.0
[AC1-Vlan-interface2] quit
[AC1] quit
# Establish a connection with the remote SFTP server and enter SFTP client view.
Input Username: client001
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1 ...
The Server is not authenticated. Continue? [Y/N]:y
Do you want to save the server public key? [Y/N]:n
Enter password:
# Display files under the current directory of the server, delete file z, and check that the file has
been deleted successfully.
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 startup.cfg
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2
-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkey1
drwxrwxrwx 1 noone nogroup 0 Sep 01 06:22 new
-rwxrwxrwx 1 noone nogroup 225 Sep 01 06:55 pub
- 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