331
Establishing a connection to the SFTP server
This configuration task enables the SFTP client to establish a connection to the remote SFTP server and
enter SFTP client view.
To enable the SFTP client:
To do…
Command…
Remarks
Establish a
connection to
the remote SFTP
server and
enter SFTP
client view.
Establish a
connection to
the remote IPv4
SFTP server
and enter SFTP
client view.
sftp
server
[
port-number
]
[
vpn-
instance
vpn-instance-name
] [
identity-key
{
dsa
|
rsa
} |
prefer-
ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-
hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Required.
Use either command in user view.
Establish a
connection to
the remote IPv6
SFTP server
and enter SFTP
client view.
sftp ipv6
server
[
port-number
] [
vpn-instance
vpn-instance-name
] [
identity-key
{
dsa
|
rsa
} |
prefer-
ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-
hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Working with 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.
To work with SFTP directories:
To do…
Command…
Remarks
1.
Enter SFTP client view.
For more information, see
"
."
Required.
Execute the command in user
view.
2.
Change the working directory of
the remote SFTP server.
cd
[
remote-path
]
Optional.
3.
Return to the upper-level directory.
cdup
Optional.