华为交换机5855设置ssh

配置思路

配置交换机密钥对

#生成RSA密钥对

设置vty登陆用户界面的认证方式为AAA认证

#设置远程认证方式

设置aaa用户信息

#本地用户名和密码

#本地用户服务类型

#本地用户授权等级

设置ssh信息

#设置ssh用户的认证方式

#设置ssh用户的服务类型

设置ssh使能

   

配置举例:

步骤一、生成本地密钥对

[test]

[test]rsa local-key-pair create

   

步骤二、设置vty登陆用户界面的认证方式为AAA认证

[test]user-interface vty 0 4

[test-ui-vty0-4]authentication-mode aaa

[test-ui-vty0-4]protocol inbound ssh

[test-ui-vty0-4]qu

   

步骤三、设置aaa用户信息

[test]aaa

[test-aaa]local-user admin password cipher 123@.com

[test-aaa]local-user admin service-type ssh

[test-aaa]local-user admin privilege level 3

   

步骤四、设置ssh信息

[test-aaa]qu

[test]ssh user admin authentication-type password

[test]ssh user admin service-type stelnet

   

步骤五、设置ssh使能

[test]stelnet server enable

posted @ 2019-01-25 16:08  豆腐IT  阅读(898)  评论(0编辑  收藏  举报