Sftp Server Configuration Example - HP 3600 v2 Series Configuration Manual

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

Advertisement

File successfully renamed
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
# Download the pubkey2 file from the server and save it as local file public.
sftp-client> get pubkey2 public
Remote
Downloading file successfully ended
# Upload the local file pu to the server, save it as puk, and check if the file has been uploaded
successfully.
sftp-client> put pu puk
Local file:pu --->
Uploading file successfully ended
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
sftp-client>
# Terminate the connection to the remote SFTP server.
sftp-client> quit
Bye
Connection closed.
<SwitchA>

SFTP server configuration example

Unless otherwise noted, devices in the configuration example are operating in non-FIPS mode.
Network requirements
As shown in
SFTP client, needs to log in to the switch for file management and file transfer. Use password
authentication and configure the username client002 and the password aabbcc for the client on the
switch.
Figure 101 Network diagram
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
file:/pubkey2 --->
Remote file: /puk
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
Figure
101, an SSH connection is required between the host and the switch. The host, an
1759 Aug 23 06:52 config.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey
0 Sep 01 06:22 new
225 Sep 01 06:55 pub
0 Sep 02 06:33 new2
Local file: public
1759 Aug 23 06:52 config.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey
0 Sep 01 06:22 new
0 Sep 02 06:33 new2
283 Sep 02 06:35 pub
283 Sep 02 06:36 puk
338

Advertisement

Table of Contents
loading

Table of Contents