Loading

交换机SSH登录配置

华为

# 
aaa
 local-user admin password simple admin@123
 local-user admin privilege level 15
 local-user admin service-type ssh
# 
stelnet server enable
ssh user admin
ssh user admin authentication-type password
ssh user admin service-type all
#
user-interface vty 0 4
 authentication-mode aaa
 protocol inbound all
#

华三

#
local-user admin
 service-type ssh terminal
 authorization-attribute user-role level-15
 password simple admin@123
#
ssh server enable
ssh user tayinhang service-type stelnet authentication-type password
#
user-interface vty 0 63
 authentication-mode scheme
 protocol inbound ssh
 idle-timeout 5 0
#
posted @ 2020-09-19 22:35  北兢王  阅读(932)  评论(0)    收藏  举报