H3C S3600 Series Operation Manual page 35

Ssh terminal service, ethernet switches
Hide thumbs Also See for S3600 Series:
Table of Contents

Advertisement

Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510
# Configure an IP address (192.168.0.2 in this case) for the VLAN interface on SwitchA.
This IP address and that of the VLAN interface on SwitchB must be in the same
network segment.
<H3C> system-view
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] ip address 192.168.0.2 255.255.255.0
[H3C-Vlan-interface1] quit
# Establish a connection to the remote SFTP server and enter SFTP client view.
[H3C] sftp 192.168.0.1
Input Username: client001
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1 ...
The Server is not authenticated. Do you continue access it? [Y/N]:y
Do you want to save the server's public key? [Y/N]:n
Enter password:
sftp-client>
# Display the current directory on the SFTP server, delete file z and verify the operation.
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
sftp-client> delete z
The following files will be deleted:
flash:/z
Are you sure to delete it?(Y/N):y
This operation may take a long time.Please wait...
File successfully Removed
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
# Create directory new1 and verify the operation.
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
2-8
Chapter 2 SFTP Service
1759 Aug 23 06:52 config.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey1
0 Sep 01 06:22 new
225 Sep 01 06:55 pub
0 Sep 01 08:00 z
1759 Aug 23 06:52 config.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey1
0 Sep 01 06:22 new
225 Sep 01 06:55 pub

Advertisement

Table of Contents
loading

Table of Contents