![Huawei Quidway NetEngine 20 series Скачать руководство пользователя страница 184](http://html.mh-extra.com/html/huawei/quidway-netengine-20-series/quidway-netengine-20-series_configuration-manual_169449184.webp)
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9 Telnet and SSH
Issue 05 (2010-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-35
[Quidway]
ssh user client001 sftp-directory
flash:
[Quidway]
ssh user client002 service-type sftp
[Quidway]
ssh user client002 sftp-directory
flash:
Step 7
Connect the STelnet client to the SSH server.
# When you log in for the first time, enable the first-time authentication for the SSH client.
[client]
ssh client first-time enable
# Connect the STelnet client to the SSH server in the password authentication.
<client>
system-view
[client]
sftp 10.164.39.222
Please input the username:client001
Trying 10.164.39.222 ...
Press CTRL+K to abort
Connected to 10.164.39.222 ...
Enter password:
sftp-client>s
# Connect the STelnet client to the SSH server in the RSA authentication.
<client
system-view
[client]
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 8
Verify the configuration.
After the configuration, run the
display ssh server status
and
display ssh server session
commands. You can view that the STelnet service is enabled and the SFTP client is connected
to the SSH server successfully.
# Display the SSH status.
[Quidway]
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
# Display the connection of the SSH server.
[Quidway]
display ssh server session
Session 1:
Conn
:VTY 3
Version :2.0
State
:started
Username :client001
Retry
:1
CTOS Cipher :aes128-cbc
STOC Cipher :aes128-cbc
CTOS Hmac :hmac-sha1-96
STOC Hmac :hmac-sha1-96
Kex
:diffie-hellman-group1-sha1