Networking · Security › Device Access & Management › Telnet — Legacy / Insecure
Should normally be replaced by SSH
Cheat sheet · https://pcornel.dk/topic.php?topic=1486
Answer
Telnet should normally be replaced by SSH: configure a hostname, domain name and RSA key, ip ssh version 2, and transport input ssh on the VTY lines.
Remember
- Replace Telnet with SSH except in a deliberately isolated lab
- Prefer long unique credentials stored as supported hashes/secrets, not reversible plaintext
- MFA and certificates reduce reliance on reusable passwords
- Rotation should be risk/event driven and must not encourage predictable patterns.
First checks
show ip ssh— SSH v2 enabledshow running-config | section line vty— transport input ssh
Commands
show ip sshshow sship domain nameip ssh time-outip ssh authentication-retriesip ssh version 2ip http secure-server
Verify in this order
keys → SSH v2 → transport input ssh → Telnet removed
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1486