温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

开启华为交换机路由器ssh访问

发布时间:2020-07-24 10:17:05 来源:网络 阅读:4192 作者:lq2011 栏目:安全技术

需求: PC机客户端通过SSH能够远程登录交换机进行远程管理。


步骤一,生成本地密钥对:

[test]rsa local-key-pair create 
The key name will be: Auotnavi-callcenter-01_Host 
The range of public key size is (512 ~ 2048). 
NOTES: If the key modulus is greater than 512, 
       It will take a few minutes. 
Input the bits in the modulus[default = 512]:1024 
Generating keys... 
.++++++ 
............++++++ 
...............++++++++ 
.++++++++

步骤二,配置VTY用户界面:

[Auotnavi-callcenter-01]user 
[Auotnavi-callcenter-01]user-interface vty 0 4 
[Auotnavi-callcenter-01-ui-vty0-4]authentication-mode aaa 
[Auotnavi-callcenter-01-ui-vty0-4]protocol inbound ssh

步骤三,创建SSH用户及密码

#aaa
#local-user root password simple 123456 
#local-user root privilege level 3 
#local-user root service-type ssh

步骤四:  配置ssh用户的认证方式和服务方式

[Quidway] ssh user 用户名 authentication-type password
或[Quidway] ssh authentication-type default password   #如果用户过多可直接设置默认的认证方式
[Quidway] ssh user username service-type {sftp | stelnet | all }      #这步骤没有配置,可能出现 server refused to start a shell/command.

步骤五:使能ssh服务

[Quidway] stelnet server enable


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI