Pcornel
Networking · Security › Device Access & Management › Telnet — Legacy / Insecure

Insecure management protocol

Cheat sheet · https://pcornel.dk/topic.php?topic=1485

Back to the Topic

Answer

Telnet sends usernames, passwords and all session data in clear text, so anyone on the path can read or capture them.

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 line vty 0 15 — transport input
  • show running-config | include transport input — config

Commands

show ip ssh
Display SSH version and settings.
ip http secure-server
ip domain name
show ssh
show ip http server status
show snmp community
show control-plane host open-ports

Verify in this order

VTY → transport input ssh only

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=1485

Confirmation

Confirm action

Continue?