3Com 7757 Configuration Manual page 788

3com switch 7750 family
Hide thumbs Also See for 7757:
Table of Contents

Advertisement

788
C
71: SSH T
HAPTER
ERMINAL
SFTP Configuration
Example
S
ERVICES
Table 625 Display help information about SFTP client commands
Operation
Enter SFTP client view
Display help information
about SFTP client commands
Network requirements
As shown in Figure 204.
An SSH connection is present between Switch A and Switch B.
Switch B serves as an SFTP server, with IP address 10.111.27.91/24.
Switch A serves as an SFTP client, with IP address 10.111.27.90/24.
An SSH username abc with password hello is created.
Network diagram
Figure 204 Network diagram for SFTP configuration
SFTP server
Vlan -int1
10.111 .27 .91 /24
Switch B
Configuration procedure
1 Configure Switch B (SFTP server)
# Enable the SFTP server.
[SW7750] sftp server enable
# Specify SFTP service for SSH user abc.
[SW7750] ssh user abc service-type sftp
2 Configure Switch A (SFTP client)
# Establish a connection to the remote SFTP server and enter SFTP client view.
[SW7750] sftp 10.111.27.91
# Display the current directory on the SFTP server, delete file z and verify the
operation.
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
Received status: End of file
Received status: Success
sftp-client> delete z
Command
sftp { host-ip | host-name }
help [ all | command-name ]
SFTP client
Vlan-int1
10.111.27.90/24
Switch A
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey1
nogroup
0 Sep 01 06:22 new
nogroup
225 Sep 01 06:55 pub
nogroup
0 Sep 01 08:00 z
Description
-
Optional

Advertisement

Table of Contents
loading

This manual is also suitable for:

775077587754

Table of Contents