华为设备开ssh和console账号密码配置命令

aaa
local-user admin password cipher admin
local-user admin privilege level 15
local-user admin service-type ssh terminal
提供ssh和console登陆的权限

user-interface con 0 //进入console也要aaa账号和密码
authentication-mode aaa
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh

stelnet server enable

你可能感兴趣的:(网络安全,ssh,运维)