-
Test availability first
bash$ ssh -T -p 443 git@ssh.github.comNote:
Why we need to use this command to test?
It's useful when:
- Standard port 22 is blocked by a firewall or ISP
- You're on a restricted network (corporate, school, public Wi-Fi)
Port 443 (HTTPS) is almost always allowed, so using SSH over this port bypasses restrictions while keeping the security of SSH.
-
Edit vim ~/.ssh/config
bashHost github.com Hostname ssh.github.com Port 443 User git -
Then test again:
bashssh -T -p 443 git@ssh.github.comyou will see : Hi ... ! You've successfully authenticated.
Github无法push
Miracle&2026-01-16 8:07
相关推荐
NocoBase3 小时前
【2.0 教程】第 1 章:认识 NocoBase ,5 分钟跑起来量子位8 小时前
字节版龙虾架构火爆GitHub!开源获35k+ Star,内置Skill全家桶,原生适配飞书汪海游龙12 小时前
开源项目 Trending AI 招募 Google Play 内测人员(12 名)HealthScience13 小时前
github怎么授权ssh(私人库授权)CoderJia程序员甲14 小时前
GitHub 热榜项目 - 日榜(2026-03-22)阿里嘎多学长14 小时前
2026-03-22 GitHub 热点项目精选研究点啥好呢14 小时前
3月22日GitHub热门项目推荐|网页浏览,何须手动darkb1rd16 小时前
ClawTeam:让 AI 代理组成集群,实现全自动化工作流scilwb16 小时前
《TIAGo Dual 机器人 Isaac Sim (PhysX Lidar) + Cartographer 2D SLAM 严谨配置全流程指南》