# How do you diagnose an SSH connection failure to a Cisco IOS XE device?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: IP Services
Updated: 2026-11-25T05:30:54.545173+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-ssh-management-reachability.html

## Also asked as

- How can I tell whether a Cisco SSH failure comes from the network path, the SSH service, or login?
- What should I check when I can ping a Cisco switch but cannot open an SSH session?

Test SSH from the intended management client to the device's management address. SSH provides encrypted remote CLI access, and a successful ping only proves that the tested ICMP exchange worked. To locate the failure, distinguish TCP reachability, SSH negotiation, and authentication.

1. If the SSH connection times out or is refused, check reachability to the management address, the return path, and policy for the SSH port, normally TCP 22\. On Cisco IOS XE 17.15.x for Catalyst 9300, use `show ip ssh` from a working management session or console to check that the server is enabled.
2. If TCP connects but negotiation fails, compare the client error with the server's supported SSH settings, key availability, and the remote line's SSH access policy. These settings can vary by release and image.
3. If the server reaches authentication and rejects it, investigate the configured login policy and device-side result. Confirm restoration by opening an authorized SSH session from the original management client.

Use the observed connection stage to decide which dependency to test next.

### References

* [Catalyst 9300 SSH service and operational verification](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/sec/b_1715_sec_9300_cg/configuring_secure_shell__ssh_.html)
* [RFC 4253 SSH transport endpoint](https://www.rfc-editor.org/rfc/rfc4253)

Source: [CCNA IP Services: NAT, DHCP, DNS, NTP, SNMP, Syslog, QoS, and SSH](https://learningpathx.com/news/ccna-ip-services-nat-dhcp-dns-ntp-snmp-syslog-qos-and-ssh.html)
