需求: PC机客户端通过SSH能够远程登录交换机进行远程管理。
步骤一,生成本地密钥对:
[test]rsa local-key-pair create
步骤二,配置VTY用户界面:
[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 cipher 123456
local-user root privilege level 3
local-user root service-type ssh
步骤四,使用stelnet:
[test]stelnet server enable
[test]ssh authentication-type default password