Cisco router SSH logon Advanced Configuration enable secure configure terminalenable secret ciscoservice password-secret enable aaa new-modelaaa authentication login AAA_LOCAL localusername sunchao secret cicsousername cocoe secret ciscosecurity passwords min-length 5 password configuration minimum Length: hostname R1ip domain-name sunchao. comcrypto key generate rsa access-list 10 remark Hosts allowed to SSHaccess-list 10 permit host 192.168.1.1access-list 10 permit host 192.168.1.2 www.2cto.com R2 (config) # line vty 0 4R2 (config-line) # logging synchronousR2 (config-line) # exec-timeout 5 30R2 (config-line) # login authentication AAA_LOCAL R2 (config-line) # transport input ssh R2 (config-line) # access-class 10 inR2 (config-line) # endip ssh version 2ip ssh timeout 30 (set the maximum idle timer) ip ssh authentication-retries 2 (maximum number of failed attempts) r1 login R1 # ssh-l sunchao 192.168.1.1OpenPassword: