![Huawei AR2200 Series Configuration Manual Download Page 148](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296148.webp)
Do as follows on the router that serves as an SSH client:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run the
stelnet
[
-a
source-address
]
host-ipv4
[
port
] [ [
-vpn-instance
vpn-instance-name
] |
[
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
} ] ]
*
[
-
ki
aliveinterval
[
-kc
alivecountmax
] ] command. You can log in to the SSH server through
STelnet.
----End
8.4.5 Checking the configuration
After the configuration task of logging in to another device by using STelnet is established, you
can check the global configurations of the SSH servers and the sessions between the SSH servers
and the STelnet client.
Prerequisite
The configurations for logging in to another device by using STelnet are complete.
Procedure
l
Run the
display ssh server status
command to view the status of the SSH server.
----End
Example
Run the
display ssh server status
to view the status of the SSH server.
<Huawei>
display ssh server status
SSH version :1.99
SSH connection timeout :60 seconds
SSH server key generating interval :0 hours
SSH Authentication retries :3 times
SFTP Server :Enable
8.5 Accessing Files on Another Device by Using TFTP
You can configure the router as a TFTP client, and log in to the TFTP server to upload and
download files.
8.5.1 Establishing the Configuration Task
Before accessing another device by using TFTP, familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the required data. This can help
you complete the configuration task quickly and accurately.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
8 Accessing Another Device
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
137