Huawei V300R005 Configuration Manual page 201

Quidway netengine80 core router
Hide thumbs Also See for V300R005:
Table of Contents

Advertisement

9 Telnet and SSH
Step 4 Bind the RSA public key of the SSH client to Client002.
[Quidway] ssh user client002 assign rsa-key RsaKey001
Step 5 Enable the STelnet service on the SSH server.
# Enable the STelnet service.
[Quidway] sftp server enable
Step 6 Configure the service type and authorized directory of the SSH user.
Two SSH users are configured on the SSH server: Client001 and Client002. The password
authentication is configured for Client001 and the RSA authentication is configured for
Client002.
<Quidway> system-view
[Quidway] ssh user client001 service-type sftp
[Quidway] ssh user client001 sftp-directory cfcard:
[Quidway] ssh user client002 service-type sftp
[Quidway] ssh user client002 sftp-directory cfcard:
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]
# Connect the STelnet client001 to the SSH server in the password authentication.
<client001> system-view
[client001] 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 client002 to the SSH server in the RSA authentication.
<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 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 :
SSH connection timeout :
SSH server key generating interval : 0 hours
9-40
ssh client first-time enable
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Configuration Guide - Basic Configurations
1.99
60 seconds
Quidway NetEngine80
Issue 04 (2009-12-20)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway netengine80

Table of Contents