Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9 Telnet and SSH
Issue 05 (2010-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-33
Authentication-type : rsa
User-public-key-name : RsaKey001
Sftp-directory : -
Service-type : stelnet
Authorization-cmd : No
----End
Configuration Files
#
sysname Quidway
#
rsa peer-public-key rsakey001
public-key-code begin
3047
0240
BFF35E4B C61BD786 F907B5DE 7D6770C3 E5FD17AB 203C8FCB BBC8FDF2 F7CB674E
519E8419 0F6B97A8 EA91FC4B B9E18836 5E74BFD5 4C687767 A89C6B43 1D7E3E1B 0203
010001
public-key-code end
peer-public-key end
#
aaa
local-user client001 password simple huawei
local-user client001 service-type ssh
#
stelnet server enable
ssh user client001
ssh user clietn002
ssh user client001 authentication-type password
ssh user client002 authentication-type RSA
ssh user client002 assign rsa-key rsakey001
ssh user client001 service-type stelnet
ssh user client002 service-type stelnet
#
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
#
return
9.8.3 Example for Connecting the SFTP Client to the SSH Server
Networking Requirements
As shown in
Figure 9-7
, after the SFTP service is enabled on the SSH server, the SFTP client
can log in to the SSH server in the authentication mode: password, RSA, Password-RSA, and
all.