Huawei AR1200 Series User Configuration Manual page 193

Enterprise routers
Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration
Step 6 Connect to the SSH server.
# Enable initial authentication for use by the SSH client at first time logins.
<Huawei> system-view
[Huawei] sysname client001
[client001] ssh client first-time enable
<Huawei> system-view
[Huawei] sysname client002
[client002] ssh client first-time enable
# Log in to the SSH server from Client001 in password authentication mode.
<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>
# Log in to the SSH server from Client002 in RSA authentication mode.
<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 7 Verify the configuration.
After the configuration is complete, run the display ssh server status and display ssh server
session commands. You can see that the SFTP service has been enabled, and that the SFTP
clients have logged in to the server.
# Check the status of the SSH server.
[SSH Server] display ssh server status
SSH version
SSH connection timeout
SSH server key generating interval
SSH Authentication retries
SFTP Server
# Check the SSH session status.
[SSH Server] display ssh server session
--------------------------------------------------------------------
Conn
--------------------------------------------------------------------
VTY 3
client001
VTY 4
--------------------------------------------------------------------
# Check information about the SSH users.
[SSH Server] display ssh user-information
-------------------------------------------------------------------------------
Username
-------------------------------------------------------------------------------
client001
client002
-------------------------------------------------------------------------------
----End
Issue 04 (2012-05-15)
Ver
Encry
State
2.0
AES
run
2.0
AES
run
Auth-type
password
rsa
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
:1.99
:60 seconds
:0 hours
:3 times
:Enable
Auth-type
Username
password
rsa
client002
User-public-key-name
null
RsaKey001
8 Accessing Another Device
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents