Scp File Transfer With Password Authentication - HP 6600 Security Configuration Manual

Table of Contents

Advertisement

sftp-client> mkdir new1
New directory created
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
# Rename the directory new1 to new2 and check that the directory name has been changed
successfully.
sftp-client> rename new1 new2
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 a local file named pu to the server, save it as puk, and check that 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>
# Exit SFTP client view.
sftp-client> quit
Bye
Connection closed.
<RouterA>

SCP file transfer with password authentication

This section provides examples of configuring SCP for file transfer with password authentication.
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
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
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: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
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
346

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents