Working With The Sftp Directories - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

To do...
Establish a
connection to
the remote
SFTP server
and enter
SFTP client
view

Working with the SFTP Directories

SFTP directory operations include:
Changing or displaying the current working directory
Displaying files under a specified directory or the directory information
Changing the name of a specified directory on the server
Creating or deleting a directory
Follow these steps to work with the SFTP directories:
To do...
Enter SFTP client view
Change the working directory
of the remote SFTP server
Return to the upper-level
directory
Display the current working
directory of the remote SFTP
server
Display files under a specified
directory
Change the name of a specified
directory on the SFTP server
sftp server [ port-number ] [ identity-key
Establish a
{ dsa | rsa } | prefer-ctos-cipher { aes128 |
connection to
des } | prefer-ctos-hmac { md5 | md5-96 |
the remote
sha1 | sha1-96 } | prefer-kex
IPv4 SFTP
{ dh-group-exchange | dh-group1 |
server and
dh-group14 } | prefer-stoc-cipher
enter SFTP
{ aes128 | des } | prefer-stoc-hmac { md5 |
client view
md5-96 | sha1 | sha1-96 } ] *
sftp ipv6 server [ port-number ]
[ identity-key { dsa | rsa } |
Establish a
connection to
prefer-ctos-cipher { aes128 | des } |
the remote
prefer-ctos-hmac { md5 | md5-96 | sha1 |
IPv6 SFTP
sha1-96 } | prefer-kex
server and
{ dh-group-exchange | dh-group1 |
dh-group14 } | prefer-stoc-cipher
enter SFTP
client view
{ aes128 | des } | prefer-stoc-hmac { md5 |
md5-96 | sha1 | sha1-96 } ] *
sftp [ ipv6 ] server [ port-number ]
[ identity-key { dsa | rsa } |
prefer-ctos-cipher { aes128 | des }
| prefer-ctos-hmac { md5 | md5-96
| sha1 | sha1-96 } | prefer-kex
{ dh-group-exchange | dh-group1
| dh-group14 } | prefer-stoc-cipher
{ aes128 | des } | prefer-stoc-hmac
{ md5 | md5-96 | sha1 | sha1-96 } ]
*
cd [ remote-path ]
cdup
pwd
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
rename oldname newname
Use the command...
Use the command...
2-3
Remarks
Required
Use either
command in user
view.
Remarks
Required
Execute the command in
user view.
Optional
Optional
Optional
Optional
The dir command
functions as the ls
command.
Optional

Advertisement

Chapters

Table of Contents
loading

Table of Contents