HP 3600 v2 Series Security Configuration Manual page 313

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

Establish a connection between the SFTP client and the SFTP server.
3.
# Establish a connection to the remote SFTP server and enter SFTP client view.
<SwitchA> sftp 192.168.0.1 identity-key rsa
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
sftp-client>
# Display files under the current directory of the server, delete the file named z, and check if the file has
been deleted successfully.
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
sftp-client> delete z
The following File will be deleted:
/z
Are you sure to delete it? [Y/N]:y
This operation might take a long time.Please wait...
File successfully Removed
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
# Add a directory named new1 and check if it has been created successfully.
sftp-client> mkdir new1
New directory created
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
# Rename directory new1 to new2 and check if the directory has been renamed successfully.
sftp-client> rename new1 new2
File successfully renamed
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
0 Sep 01 06:22 new
nogroup
225 Sep 01 06:55 pub
nogroup
0 Sep 01 08:00 z
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
0 Sep 01 06:22 new
nogroup
225 Sep 01 06:55 pub
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
0 Sep 01 06:22 new
nogroup
225 Sep 01 06:55 pub
nogroup
0 Sep 02 06:30 new1
302

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A3100-48 v2

Table of Contents