aaa new-model
username someuser password 0 thisisabadpword
service password-encryption
line vty 0 4
transport input telnet
Test with telnet and the username/password you used above then:
ip domain-name mydomain.com
cry key generate rsa
ip ssh time-out 60
ip ssh authentication-retries 2
Disable everything except ssh:
line vty 0 4
transport input ssh
If there is another vty line, then do the same for that one.
No comments:
Post a Comment