Pcornel
Networking · Security › Device Hardening

Strong secrets

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

Back to the Topic

Answer

Strong secrets means using enable secret and username … secret with modern hashing (type 8 or 9), long passwords and no default or shared credentials.

Remember

  • SSHv2 protects the session; VTY policy still controls who may connect and how users authenticate
  • Use a dedicated management VRF/interface where supported and restrict sources with ACL/firewall policy
  • Disable Telnet and unused HTTP services
  • Prefer named administrators, AAA, least privilege, timeouts and audit logging
  • Preserve an out-of-band recovery path before changing remote access.

First checks

  • show running-config | include secret|password — secret types
  • show running-config | include service password-encryption — type 7 obfuscation

Verify in this order

secret configured with strong hash → stored → verified at login

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

Confirmation

Confirm action

Continue?