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

你可能感兴趣的:(s5700配置 SSH能够远程登录交换机)