![Huawei AR2200 Series Скачать руководство пользователя страница 178](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296178.webp)
Connected to 10.164.39.222 ...
Enter password:
sftp-client>
# Log in to the SSH server from Client002 in RSA authentication mode.
<client002>
system-view
[client002]
sftp 10.164.39.222
Please input the username: client002
Trying 10.164.39.222 ...
Press CTRL+K to abort
Connected to 10.164.39.222 ...
sftp-client>
Step 7
Verify the configuration.
After the configuration is complete, run the
display ssh server status
and
display ssh server
session
commands. You can see that the SFTP service has been enabled, and the SFTP clients
have logged in to the server successfully.
# Check the status of the SSH server.
[SSH Server]
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
# Check the SSH session status.
[SSH Server]
display ssh server session
--------------------------------------------------------------------
Conn Ver Encry State Auth-type Username
--------------------------------------------------------------------
VTY 3 2.0 AES run password
client001
VTY 4 2.0 AES run rsa client002
--------------------------------------------------------------------
# Check information about the SSH users.
[SSH Server]
display ssh user-information
-------------------------------------------------------------------------------
Username Auth-type User-public-key-name
-------------------------------------------------------------------------------
client001 password null
client002 rsa RsaKey001
-------------------------------------------------------------------------------
----End
Configuration Files
l
Configuration file of the SSH server.
#
sysname SSH Server
#
rsa peer-public-key rsakey001
public-key-code begin
3047
0240
C4989BF0 416DA8F2 2675910D 7F2997E8 5573A35D 0163FD4A FAC39A6E 0F45F325
A4E3AA1D 54692B04 C6A28D3D C58DE2E8 E0D58D65 7A25CF92 A74D21F9 E917182B
0203
010001
public-key-code end
peer-public-key end
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.
167