Huawei netengine80e Configuration Manual page 226

Hide thumbs Also See for netengine80e:
Table of Contents

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - Basic Configurations
Two SSH users are configured on the SSH server, namely, Client001 and Client002. The
password authentication mode is configured for Client001 and the RSA authentication mode is
configured for Client002.
[SSH Server] ssh user client001 service-type sftp
[SSH Server] ssh user client001 sftp-directory cfcard:
[SSH Server] ssh user client002 service-type sftp
[SSH Server] ssh user client002 sftp-directory cfcard:
Step 7 Connect the STelnet client to the SSH server.
# For the first login, you need to enable the first authentication on the SSH client.
Enabling the first authentication on Client001.
<HUAWEI> system-view
[HUAWEI] sysname client001
[client001] ssh client first-time enable
Enabling the first authentication on Client002.
<HUAWEI> system-view
[HUAWEI] sysname client002
[client002] ssh client first-time enable
# Connect the STelnet client Client001to the SSH server with the password authentication mode.
<client001> system-view
[client001] sftp 10.10.1.1 public-net
Please input the username:client001
Trying 10.10.1.1 ...
Press CTRL+K to abort
Connected to 10.10.1.1 ...
Enter password:
sftp-client>
# Connect the STelnet client Client002 to the SSH server with the RSA authentication mode.
<client002> system-view
[client002] sftp 10.10.1.1 public-net
Please input the username: client002
Trying 10.10.1.1 ...
Press CTRL+K to abort
Connected to 10.10.1.1 ...
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.
[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
STELNET server: Disable
# Display the connection of the SSH server.
[SSH Server] display ssh server session
Session 1:
Issue 02 (2011-09-10)
Conn
Version
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
: VTY 3
: 2.0
8 Accessing Another Device
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netengine40e

Table of Contents