10-26
Examples
# On the SFTP server, delete directory
temp1
in the current directory.
sftp-client> rmdir temp1
Directory successfully removed
sftp
Syntax
sftp
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
} ] *
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
.
z
aes128
: Encryption algorithm aes128-cbc.
z
des
: Encryption algorithm des-cbc.
prefer-ctos-hmac
: Preferred HMAC algorithm from client to server, defaulted to sha1.
z
md5
: HMAC algorithm hmac-md5.
z
md5-96
: HMAC algorithm hmac-md5-96.
z
sha1
: HMAC algorithm hmac-sha1.
z
sha1-96
: HMAC algorithm hmac-sha1-96.
prefer-kex
: Preferred key exchange algorithm, defaulted to dh-group-exchange.
z
dh-group-exchange
: Key exchange algorithm diffie-hellman-group-exchange-sha1.
z
dh-group1
: Key exchange algorithm diffie-hellman-group1-sha1.
z
dh-group14
: Key exchange algorithm diffie-hellman-group14-sha1.
prefer-stoc-cipher
: Preferred encryption algorithm from server to client, defaulted to aes128.
prefer-stoc-hmac
: Preferred HMAC algorithm from server to client, defaulted to sha1.
Description
Use the
sftp
command to establish a connection to a remote IPv4 SFTP server and enter SFTP client
view.
Note that when the client’s authentication method is publickey, the client needs to get the local private
key for validation. As the publickey authentication includes RSA and DSA algorithms, you must specify
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...