为思科交换机配置SSH、Telnet密码
Enable密钥配置:
en conf t enable secret admin
Telnet登陆配置:
1)VTY验证
en conf t enable secret admin line vty 0 4 password admin login transport input all end write
2)Username鉴权
en conf t enable secret admin username admin secret 5 admin line vty 0 4 login local end write
SSH登陆配置:
service password-encryption username admin secret admin enable secret admin crypto key generate rsa ip ssh version 2 line vty 0 4 transport input ssh exit write