9 Telnet and SSH
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9-24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
Do as follows on the login router:
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
sftp
{ [
-a
X.X.X.X ]
host-ipv4
|
ipv6
[
-a
X:X::X:X ]
host-ipv6
[
-i
{
interface-type
interface-number
|
interface-name
} ] }
[
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
]
The SFTP client view is displayed.
Step 3
Run:
help
[
all
|
command-name
]
The SFTP client command help is displayed.
----End
9.6.8 Checking the Configuration
Run the following commands to check the previous configuration.
Action
Command
Check the mapping between the SSH
server and the RSA public key on the
SSH client side.
display ssh server-info
Check the session of the SSH client on
the SSH server.
display ssh server session
9.7 Maintaining Telnet and SSH
This section covers the following topics:
z
Debugging Telnet Terminal Services
z
Debugging SSH Terminal Services
9.7.1 Debugging Telnet Terminal Services
When a Telnet fault occurs, run the following
debugging
command in the user view to locate
the fault.