-
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
相关推荐
高频因子挖掘机3 小时前
QuantDash 成交量单位统一实战:从“手”到“股”的跨市场量化数据清洗全流程CoderJia程序员甲3 小时前
GitHub 热榜项目 - 周榜(2026-08-22)丰锋ff3 小时前
Github使用教程领创工作室19 小时前
GitHub Workflows 全面解析:从核心概念到开源实现一条泥憨鱼21 小时前
【从0开始学习计算机网络】| DNS -记录类型详解u1301301 天前
GitHub 热榜项目:日榜(2026-08-21)MicrosoftReactor1 天前
技术速递|GitHub Copilot App 入门指南:管理你的工作阿里嘎多学长1 天前
2026-08-20 GitHub 热点项目精选小妖同学学AI1 天前
AI视频生成难在提示词?这个Claude插件让Seedance 2.0效率翻倍,附超全示例!