![Huawei Quidway NetEngine80 Скачать руководство пользователя страница 209](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456209.webp)
9 Telnet and SSH
Quidway NetEngine80
Configuration Guide - Basic Configurations
9-48
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2009-12-20)
Configuration Files
z
Configuration file of the SSH server Quidway.
#
sysname Quidway
#
rsa peer-public-key rsakey001
public-key-code begin
3047
0240
C4989BF0 416DA8F2 2675910D 7F2997E8 5573A35D 0163FD4A FAC39A6E 0F45F325
A4E3AA1D 54692B04 C6A28D3D C58DE2E8 E0D58D65 7A25CF92 A74D21F9 E917182B
0203
010001
public-key-code end
peer-public-key end
#
aaa
local-user client001 password simple huawei
local-user client001 service-type ssh
#
sftp server enable
stelnet server enable
ssh server port 1025
ssh user client001
ssh user client002
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 sftp
ssh user client002 sftp-directory
flash :
.
#
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
#
return
z
Configuration file of Client001 on the SSH client
#
sysname client001
#
interface GigabitEthernet1/0/0
ip address 10.164.39.220 255.255.255.0
#
ssh client first-time enable
#
return
z
Configuration file of Client002 on the SSH client
#
sysname client002
#
interface GigabitEthernet1/0/0
ip address 10.164.39.221 255.255.255.0