HUAWEI 华为交换机开启SSH登录方法

1、首先我们需要新建账号

aaa
local-user yonghuming password cipher 123456
local-user yonghuming privilege level 15 //设置账户等级;CE系列最高是3
(local-user xiaoke level 3) CE系列命令
local-user yonghuming service-type telnet terminal ssh //开启登陆相关协议
display current-configuration | include user //查看当前账户配置信息

2、开启SSH服务(华为的STelnet即SSH,叫法不同而已。部分路由器中可能不支持此命令,默认开启)

stelnet server enable

3、配置某个用户支持SSH登录(用户名为:xiaoke 为例)

ssh user xiaoke service-type stelnet

4、配置用户的验证方式为password(用户名为:xiaoke 为例)

ssh user xiaoke authentication-type password

5、配置允许远程访问

user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh

 

版权声明:
作者:三炮不吃鱼
链接:https://www.qkeke.com/archives/2044.html
来源:小可博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
HUAWEI 华为交换机开启SSH登录方法
1、首先我们需要新建账号 aaa local-user yonghuming password cipher 123456 local-user yonghuming privilege level 15 //设置账户等级;CE系列最高是3 (……
<<上一篇
下一篇>>