本配置基于华为S3352交换机配置,其它未测试。
system-view
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
protocol inbound all
aaa
local-user libit password cipher abc-12345
local-user libit privilege level 15
local-user libit service-type ssh
q
stelnet server enable
ssh user libit
ssh user libit authentication-type all
ssh authentication-type default password
ssh user libit service-type all
rsa local-key-pair create
接下来使用SecureCRT,选择SSH2连接登录