Scp File Transfer With Password Authentication; Network Requirements - HP 6125XLG Configuration Manual

Blade switch security configuration guide
Table of Contents

Advertisement

-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
# Rename directory new1 to new2 and verify that the directory has been successfully renamed.
sftp> rename new1 new2
sftp> dir -l
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
# Download the file pubkey2 from the server and save it as a local file public.
sftp> get pubkey2 public
Fetching / pubkey2 to public
/pubkey2
# Upload the local file pu to the server, save it as puk, and verify that the file has been successfully
uploaded .
sftp> put pu puk
Uploading pu to / puk
sftp> dir -l
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
sftp>
# Exit SFTP client view.
sftp> quit
<SwitchA>

SCP file transfer with password authentication

Unless otherwise noted, devices in the configuration example are in non-FIPS mode.

Network requirements

As shown in
the user is assigned the user role network-admin and can securely transfer files with Switch B. Switch B
uses the password authentication method and the client 's username and password are saved on Switch
B.
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
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
Figure
55, Switch A acts as the SCP client, and Switch B acts as the SCP server. After login,
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:30 new1
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
100% 225
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
158
1.4KB/s
00:00

Advertisement

Table of Contents
loading

Table of Contents