![Huawei Quidway NetEngine80 Configuration Manual Download Page 186](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456186.webp)
Quidway NetEngine80
Configuration Guide - Basic Configurations
9 Telnet and SSH
Issue 04 (2009-12-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-25
9.6.4 Enabling the SFTP Client
Do as follows on the router that serves as the SSH client:
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
sftp
[
-a
source-address
]
host-ipv4
[
port
] [ [
prefer_kex
{
dh_group1
|
dh_exchange_group
} ]
| [
prefer_ctos_cipher
{
des
|
3des
|
aes128
} ] |
[
prefer_stoc_cipher
{
des
|
3des
|
aes128
} ]
| [
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ] |
[
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ] |
[ -
vpn-instance
vpn-instance-name
]
]
You can log in to the SSH server through SFTP.
----End
The command of enabling the SFTP client is similar to that of the STelnet. When accessing the SSH
server, the SFTP can carry the source address and the name of the VPN instance and choose the key
exchange algorithm, encrypted algorithm and HMAC algorithm.
9.6.5 (Optional) Managing the Directory
Do as follows on the router that serves as the SSH client:
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
sftp
{
[
-a
source-address
]
host-ipv4
[
port
]
[
prefer_kex
{
dh_group1
|
dh_exchange_group
}
] [
prefer_ctos_cipher
{
des
|
3des
|
aes128
} ] [
prefer_stoc_cipher
{
des
|
3des
|
aes128
} ] [
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
[
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ] [
-vpn-instance
vpn-instance-name
]
You can log in to the SSH server through SFTP.
Step 3
According to the requirement, select and perform one or more configurations below.
z
Run:
cd
remote-directory
The current operating directory of users is changed.
z
Run:
cdup
The operating directory of users is switched to the upper-level directory.
z
Run:
pwd