需求: 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