-
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
相关推荐
zh_xuan1 小时前
Visual Studio 上传工程到githubCoovallyAIHub2 小时前
视频理解新范式:Agent不再被动看视频,LensWalk让它自己决定看哪里CoovallyAIHub2 小时前
斯坦福丨AirVLA:将地面机械臂模型迁移至无人机实现空中抓取,成功率从23%提升至50%数据知道4 小时前
《 Claude Code源码分析与实践》专栏目录逛逛GitHub4 小时前
开源 10 天就飙到 4 万星,这个项目收集了 58 个知名网站样式。anywayuan6 小时前
使用 GitHub Actions 自动化构建和发布 Rust 项目CoderJia程序员甲6 小时前
GitHub 热榜项目 - 日榜(2026-04-12)用户385178461906 小时前
PR冲突处理和更新流程linux修理工6 小时前
pve 安装桌面xfce并开启vnc阿里嘎多学长9 小时前
2026-04-12 GitHub 热点项目精选