cisco路由器SSH登陆基本配置

cisco路由器SSH登陆基本配置

cisco路由器SSH登陆基本配置 1、username sunchao password cisco 2、ip domain-name sunchao.com (这个可以随便定义)  www.zhishiwu.com  3、crypto key generate rsa (至于加密位数自己随意选,默认是512)4、access-list 10 permit 192.168.1.0 0.0.0.255 (允许一个网段访问)或者 允许单个ip地址    www.zhishiwu.com     access-list 10 remark Hosts allowed to SSH  access-list 10 permit host 192.168.1.1  access-list 10 permit host 192.168.1.2 R2(config)#line vty 0 4R2(config-line)#login local R2(config-line)#transport input ssh R2(config-line)#access-class 10 inR2(config)#ip ssh time-out 30 超时30秒R2(config)#ip ssh version 2 R1登陆 >enable #ssh ?R1#ssh -l sunchao 192.168.1.1OpenPassword: 

推荐阅读