Huawei Quidway NetEngine 20 series Configuration Manual page 190

Hide thumbs Also See for Quidway NetEngine 20 series:
Table of Contents

Advertisement

Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
# Set the service type of Client002 to SFTP and configure the authorized directory for
Client002.
[Quidway] ssh user client002 service-type sftp
[Quidway] ssh user client002 sftp-directory flash :
Step 7 Configure a new number of the port monitored by the SSH server.
[Quidway] ssh server port 1025
Step 8 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]
# Connect the STelnet client to the SSH server through the new port number.
<client> system-view
[client] stelnet 10.164.39.222 1025
# Connect the SFTP client to the SSH server through the new port number.
<client> system-view
[client] 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
sftp-client>
Step 9 Verify the configuration.
After the configuration, run the display ssh server status and display ssh server session
commands. You can view the number of the port monitored by the SSH server and that the
STelnet client or 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
STELNET server: Disable
SSH server port: 1025
# Display the connection of the SSH server.
[Quidway] display ssh server session
Session 1:
Issue 05 (2010-01-30)
ssh client first-time enable
Conn
: VTY 3
Version
: 2.0
State
: started
Username
: client001
Retry
: 1
CTOS Cipher
: aes128-cbc
STOC Cipher
: aes128-cbc
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 Telnet and SSH
9-41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway netengine 20e seriesV200r005

Table of Contents