3Com Switch 8800 Family Configuration Guide
786 CHAPTER 67: SSH TERMINAL SERVICE
Configuration procedure
1 Configure Switch B.
# Start the SFTP server.
[SW8800] sftp server enable
# Specify the service type as SFTP.
[SW8800] ssh user 8040 service-type sftp
# Set the authentication mode to password.
[SW8800] ssh user 8040 authentication-type password
2 Configure Switch A
# Configure the server with a public key whose name is the IP address of the
server.
[SW8800] rsa peer-public-key 10.111.27.91
[3Com-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[8505A-rsa-key-code]30818602 8180507E DB32853A 58D19A3E B216BDC9 AA37535A
[8505A-rsa-key-code]6F6B0FE8 B5D4BCD2 A1C8B127 93212202 938D98D8 8A6AB88B
[8505A-rsa-key-code]C8E96A97 3774B383 036CFBE2 59C24887 585D97AA 88616CB9
[8505A-rsa-key-code]4C35029B B4929D58 B9F2A372 99C0F029 D69FE3D3 0469894B
[8505A-rsa-key-code]417BAD0D 921AA895 2F9B6ADE 9E755B66 4E6CAE2F 94C339E3
[8505A-rsa-key-code]5E301FD0 31FC490B 67E1B657 49750201 25
[3Com-rsa-key-code] public-key-code end
[3Com-rsa-public-key] peer-public-key end
[SW8800] ssh client 10.111.27.91 assign rsa-key 10.111.27.91
# Establish the SSH connection between the client and the server.
[SW8800] ssh2 10.111.27.91
Please input the username:8040
Trying
Press CTRL+K to abort
Connected to 10.111.27.91 ...
Enter password:3com
*********************************************************
* All rights reserved (1997-2004) *
* Without the owner’s prior written consent, *
*no decompiling or reverse-engineering shall be allowed.*
*********************************************************
<SW8800>
# Establish a connection with the remote SFTP server and enter the SFTP client
view.
<SW8800> system-view
[SW8800] sftp 10.111.27.91
# Display the current directory of the server, delete file z, and check if the directory
has been deleted successfully.
sftp-client> dir
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 vrpcfg.cfg