Fix: ssh: connect to host github.com port 22: Connection timed out


A terminal showing an SSH connection to github.com on port 22 timing out.

Your network blocks SSH on port 22, not your key. Route GitHub over ssh.github.com on port 443, make it permanent in ssh config, and verify with git.

Fundamentals of Networking


Diagram showing the networking stack and how data flows through it.

Networking fundamentals for developers: packets, IP addressing, routing, TCP and UDP, DNS, TLS, and a practical troubleshooting mental model.