思科SSH
https://upload-images.jianshu.io/upload_images/24325874-887978f65888237a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240R1和R2规划地址R1 E0/0 12.1.1.1 24位地址
https://upload-images.jianshu.io/upload_images/24325874-9e4c125f2d18f134.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R2 E0/0 12.1.1.2 24位地址
https://upload-images.jianshu.io/upload_images/24325874-3f05da4f49497af7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
在R1上面创建两个账户用于测试,tigerlab 和cisco账户,密码均为cisco
https://upload-images.jianshu.io/upload_images/24325874-ac01a12d3f5ed6cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
设置一个域名地址为tigelab.com,生成密钥加密,设置为1024字节(字节必须为512的倍数)
https://upload-images.jianshu.io/upload_images/24325874-20b90f563c628ea1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
进入虚拟接口vty,允许同时五个接口登陆。允许SSH进入
https://upload-images.jianshu.io/upload_images/24325874-a374587b10ddaa44.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
下面测试一下第一个用户tigerlab,发现登入R1以后,进入到特权模式,这里是因为刚才给的权限为15,比较高。
https://upload-images.jianshu.io/upload_images/24325874-2af5d0fbed29701e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
下面测试一下第二个用户cisco,因为权限为0,是最低。不允许进入特权模式。
https://upload-images.jianshu.io/upload_images/24325874-57ee0e8f815a121b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
顶一下 感谢分享
页:
[1]