s5700配置 SSH能够远程登录交换机


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

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

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

1 [Auotnavi-callcenter-01]user
2 [Auotnavi-callcenter-01]user-in
3 [Auotnavi-callcenter-01]user-interface vty 0 4
4 [Auotnavi-callcenter-01-ui-vty0-4]auth
5 [Auotnavi-callcenter-01-ui-vty0-4]authentication-mode aaa
6 [Auotnavi-callcenter-01-ui-vty0-4]pro
7 [Auotnavi-callcenter-01-ui-vty0-4]protocol in
8 [Auotnavi-callcenter-01-ui-vty0-4]protocol inbound ssh

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

1 #aaa
2  
3 #local-user root password simple 123456
4 #local-user root privilege level 3
5 #local-user root service-type ssh

步骤四,使用stelnet:

1 [test]stelnet server enable
2 Info: Succeeded in starting the Stelnet server.
3  
4 [test]ssh authentication-type default password
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值