交换机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
#


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM