![Huawei Quidway NetEngine80 Configuration Manual Download Page 207](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456207.webp)
9 Telnet and SSH
Quidway NetEngine80
Configuration Guide - Basic Configurations
9-46
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2009-12-20)
[Quidway]
ssh user client002 assign rsa-key RsaKey001
# Configure the service type of Client002 as SFTP and the authorization directory.
[Quidway]
ssh user client002 service-type sftp
[Quidway]
ssh
user client002 sftp-directory hda1:
Step 4
Enable the STelnet service and the SFTP service on the SSH server.
# Enable the STelnet service and the SFTP service.
[Quidway]
stelnet server enable
[Quidway]
sftp server enable
Step 5
Configure a new number of the port monitored by the SSH server.
[Quidway]
ssh server port 1025
Step 6
Connect the STelnet client to the SSH server.
# For the first login, you need to enable the first authentication on SSH client.
[client001]
ssh client first-time enable
[client002]
ssh client first-time enable
# Connect the STelnet client to the SSH server through the new port number.
[
client001
]
stelnet 10.164.39.222 1025
Please input the username:client001
Trying 100.2.150.13 ...
Press CTRL+K to abort
Connected to 100.2.150.13 ...
he server is not authenticated. Do you continue to access it?(Y/N):y
Do you want to save the server's public key?(Y/N):y
he server's public key will be saved with the name: 10.164.39.222. Please wait...
Enter password:
Enter the password Huawei and view as follows:
***********************************************************
* All rights reserved (2000-2007) *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
* Notice: *
* This is a private communication system. *
* Unauthorized access or use may lead to prosecution. *
***********************************************************
Note: The max number of VTY users is 10, and the current number
of VTY users on line is 1.
<Quidway>
# Connect the SFTP client to the SSH server through the new port number.
[client002]
sftp 10.164.39.222 1025
Input Username:client002
Trying 100.2.150.13 ...
Press CTRL+K to abort
The server's public key does not match the one we cached.
The server is not authenticated. Do you continue to access it?(Y/N):y
Do you want to update the server's public key we cached?(Y/N):y