在前一篇文章介绍了思科设备如何配置Telnet远程管理设备,今天就来看看思科设备在配置SSH上跟华为设备有啥区别。
先来回顾一下华为设备配置SSH的关键配置
1、配置ssh用户
[SW] aaa
[SW-aaa] local-user client001 password cipher Huawei123
[SW-aaa] local-user client001 privilege level 3
[SW-aaa] local-user client001 service-type ssh
2、生成RSA密钥对
[SW] rsa local-key-pair create
3、配置VTY(虚拟终端)界面,身份认证方式为AAA认证,允许用户以SSH的方式接入
[SW] user-interface vty 0 4
[SW-ui-vty0-4] authentication-mode aaa
[SW-ui-vty0-4] protocol inbound ssh
以上是华为设备配置SSH远程登录的管理设备的方式。接下来,一起来看看思科设备是如何配置SSH的。
首