其他分享
首页 > 其他分享> > HuaWei高端交换机SSH配置

HuaWei高端交换机SSH配置

作者:互联网

[Huawei]rsa local-key-pair create #创建SSH key
[Huawei]aaa
[Huawei-aaa]undo local-user policy security-enhance #关闭用户安全策略
[Huawei-aaa]local-user admin password irreversible-cipher xxxxxxxxxx #设置用户密码
[Huawei-aaa]local-user admin service-type ssh
[Huawei-aaa]local-user admin user-group manage-ug
[Huawei]stelnet server enable #开启SSH服务
[Huawei]ssh server acl 2000 #ssh服务上调用acl
[Huawei]ssh server-source all-interface #在所有接口上启用ssh
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]user privilege level 3
[Huawei-ui-vty0-4]protocol inbound ssh

标签:aaa,vty0,Huawei,HuaWei,交换机,user,local,ssh,SSH
来源: https://www.cnblogs.com/xwupiaomiao/p/14222595.html