9. Telnet & SSH Configuration - metrafonic/Cisco-Cheatsheet GitHub Wiki
Adding telnet access
Configure an admin user and password with level 15 access:
(config)# username admin priv 15 secret cisco
Enable telnet access for a variable number of sessions:
(config)# line vty 0 [number of sessions]
(config-line)# login local
(config-line)# end
Enable SSH
Set a domain name:
ip domain-name [domain.no]
Generate keys:
R1(config)# crypto key gen rsa
Set time if time sync error appears:
#clock set 13:00:00 2 JUL 2015
Update ssh version:
(config)# ip ssh version 2
Connect from client.