运维开发网

华为网络设备SSH密码配置,必要条件

运维开发网 https://www.qedev.com 2020-06-09 10:21 出处:51CTO 作者:wangheyu1
user-interfacecon0user-interfacecon0authentication-modepasswordsetauthenticationpasswordcipherconsole密码idle-timeout50user-interfacevty04acl2099inboundauthentication-modeaaauserprivilegelevel15idle-tim

user-interface con 0

authentication-mode password

set authentication password cipher console密码

idle-timeout 5 0

user-interface vty 0 4

acl 2099 inbound

authentication-mode aaa

user privilege level 15

idle-timeout 5 0

protocol inbound ssh

stelnet server enable

ssh user 用户名

ssh user 用户名 authentication-type password

ssh user 用户名 service-type stelnet

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user 用户名 password cipher SSH密码

local-user 用户名 privilege level 3

local-user 用户名 service-type ssh

undo local-user admin

acl number 2099

rule 10 permit source 网管网IP地址 0.0.0.0

#

0

精彩评论

暂无评论...
验证码 换一张
取 消