解决github拉取推送代码报错:ssh: connect to host github.com port 22: Connection timed out 2024-01-20 github拉代码报错ssh: connect to host github.com port 22: Connection timed out Windows 找到用户/.ssh/config 文件macOS ~/.ssh/config没有config文件就创建一个 123Host github.com Hostname ssh.github.com Port 443 重新拉取或提交代码,就可以正常使用了。 https://blog.langpz.com/%E8%A7%A3%E5%86%B3github%E6%8B%89%E5%8F%96%E6%8E%A8%E9%80%81%E4%BB%A3%E7%A0%81%E6%8A%A5%E9%94%99-ssh-connect-to-host-github-com-port-22-Connection-timed-out.html Prev TypeScript-泛型 Next TypeScript-接口