264
rmdir
Syntax
rmdir
remote-path
&<1-10>
View
SFTP client view
Default level
3: Manage level
Parameters
remote-path
&<1-10>: Names of directories on the remote SFTP server. &<1-10> means that you can
provide up to 10 directory names that are separated by space.
Description
Use the
rmdir
command to delete the specified directories from an SFTP server.
Examples
# On the SFTP server, delete directory
temp1
in the current directory.
sftp-client> rmdir temp1
Directory successfully removed
sftp
Syntax
In non-FIPS mode:
sftp
server
[
port-number
] [
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
} ] *
In FIPS mode:
sftp
server
[
port-number
] [
identity-key
rsa
|
prefer-ctos-cipher
{
aes128
|
aes256
} |
prefer-ctos-hmac
{
sha1
|
sha1-96
} |
prefer-kex dh-group14
|
prefer-stoc-cipher
{
aes128
|
aes256
} |
prefer-stoc-hmac
{
sha1
|
sha1-96
} ] *
View
User view
Default level
3: Manage level
Parameters
server
: IPv4 address or host name of the server, a case-insensitive string of 1 to 20 characters.
port-number
: Port number of the server, in the range 0 to 65535. The default is 22.
identity-key
: Specifies the algorithm for publickey authentication, either
dsa
or
rsa
. The default is dsa.
prefer-ctos-cipher
: Preferred encryption algorithm from client to server, defaulted to
aes128
.
•
3des
: Encryption algorithm 3des-cbc.