Operation Manual – SSH2.0
Quidway S3100 Series Ethernet Switches
Chapter 1 SSH Terminal Services
Huawei Technologies Proprietary
1-15
I. Enabling the SFTP client
You can enable the SFTP client, establish a connection to the remote SFTP server and
enter STP client view.
Table 1-13
Enable the SFTP client
Operation
Command
Remarks
Enter system
view
system-view
—
Enable the
SFTP client
sftp
ipaddr
[
prefer_kex
{
dh_group1
|
dh_exchange_group
} ] [
prefer_ctos_cipher
{
des
|
aes128
} ] [
prefer_stoc_cipher
{
des
|
aes128
} ] [
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
[
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
Required
II. Disabling the SFTP client
Table 1-14
Disable the SFTP client
Operation
Command
Remarks
Enter system view
system-view
—
Enter SFTP client
view
sftp
{
host-ip | host-name
}
—
bye
exit
Disable the SFTP
client
quit
The three commands
have the same
function.
III. Operating with SFTP directories
SFTP directory-related operations include: changing or displaying the current directory,
creating or deleting a directory, displaying files or information of a specific directory.