Use it when securing or checking CLI access to a wireless controller.
SSH Management (WLC/AP)
SSH provides encrypted CLI access to WLCs and APs for configuration and troubleshooting, replacing Telnet.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification & troubleshooting Narrow the fault
| Symptom | Command | Look for | Next check |
|---|---|---|---|
| SSH refused | show ip ssh | SSH Enabled - version 2.0 | RSA key present; ip domain name set before key generation |
| Login fails | show logging | Authentication failures | Local user or AAA method list for the VTY lines |
| Connection times out | show line vty 0 15 / show access-lists | VTY access-class hits | Path to the management interface |
| Who is connected | show ssh | Active sessions and versions | Disconnect stale sessions with disconnect ssh <id> |
Step 2 Common mistakes Narrow the fault
- SSH to the WLC from user networks.
- Default admin accounts.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- SSH gives encrypted CLI access to WLCs and APs.
- Disable Telnet and restrict SSH to management networks.
- AP CLI access can be enabled from the WLC for troubleshooting.
show ip ssh— SSH version 2show line vty 0 4— transport input ssh
ReferenceWhat it is1 section · depth on demand
What it is
SSH is the encrypted CLI access to a wireless controller. On Catalyst 9800 (IOS XE) it is configured like any IOS XE device: an RSA key, SSH version 2, local or AAA authentication, and VTY lines that accept only SSH. Reach the controller on its wireless management interface or a dedicated management port, never from client WLAN VLANs unless intended.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
SSH to the controller
SSH is the normal CLI path to a Catalyst 9800. The bootstrap recipe generates an RSA key before enabling SSH and sets version 2, then restricts the VTY lines to SSH; it also adds VTY lines 16–50 because the web UI uses VTY lines too, and too few lines can slow down or lock the GUI.
WLC(config)# ip domain name example.net
WLC(config)# crypto key generate rsa modulus 2048
WLC(config)# ip ssh version 2
WLC(config)# line vty 0 15
WLC(config-line)# transport input ssh
WLC(config)# line vty 16 50
WLC(config-line)# transport input ssh
WLC(config)# service tcp-keepalives-in
WLC(config)# service tcp-keepalives-out
WLC# show ip ssh
SSH Enabled - version 2.0
Authentication methods:publickey,keyboard-interactive,password
WLC# show ssh
The recipe explains that the TCP keepalive services improve handling of management sessions; the best practices guide recommends checking that SSH is enabled and Telnet disabled (in the GUI under Administration > Device, View VTY Options).
Hardening SSH on the controller
| Setting | Purpose |
|---|---|
transport input ssh | No Telnet |
| Access class on VTY lines | Only management subnets can connect |
| AAA with per-user accounts | Accountability; TACACS+ command authorisation where available |
| Exec timeout | Idle sessions closed |
| Strong keys (2048-bit RSA or more) | The recipe uses 2048 |
SSH to APs
APs joined to the controller can accept SSH when the AP join profile enables it. The recipe sets non-default AP management credentials in ap profile default-ap-profile with mgmtuser and ssh; without them, AP-level troubleshooting tends to fall back to default credentials.
WLC(config)# ap profile default-ap-profile
WLC(config-ap-profile)# mgmtuser username apadmin password 0 <password> secret 0 <secret>
WLC(config-ap-profile)# ssh
host$ ssh apadmin@10.50.0.31
AP-2F-14> show capwap client rcb
Documented example, not captured output.
Quick reference
SSH is the secure way to manage a wireless controller from the command line over the network. It encrypts the session and, combined with central authentication and access lists, ensures only authorised administrators can connect from management networks.
SSH management of the WLC:
ip domain name corp.example.com
crypto key generate rsa modulus 3072
ip ssh version 2
line vty 0 15
transport input ssh
access-class MGMT-ACL in
login authentication TACACS
APs can also allow SSH for troubleshooting (AP join profile setting), but keep it disabled or restricted with strong credentials in production.
ReferenceConfiguration & state1 section · depth on demand
Configuration example (Catalyst 9800, IOS XE)
hostname WLC1
ip domain name example.local
crypto key generate rsa modulus 2048
ip ssh version 2
username admin privilege 15 secret <password>
!
line vty 0 15
transport input ssh
login local
Restrict sources with an access-class on the VTY lines. Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Wireless → Wireless Management → SSH. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/wireless/index.html · confidence 94%