-
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 小时前
git submodulefthux4 小时前
如果你用 Mac,那你可能需要 Noti Shift程序员天天困20 小时前
Loop Engineering 实战:/goal 命令让 AI 自己写完整项目徐小夕21 小时前
我们开源了一款“框架无关”的思维导图编辑器,3分钟集成到任意系统小爷毛毛_卓寿杰21 小时前
我把 397B 的「Agentic 大脑」塞进了 Xinference,一键部署 Nex-N2小爷毛毛_卓寿杰1 天前
我把一个 3B 模型塞进了 Xinference,然后它干掉了 DeepSeek V3.2凌奕1 天前
别用文档约束你的 Agent:聊聊 Agent 开发流程的思想HelloGitHub1 天前
《HelloGitHub》第 123 期逛逛GitHub2 天前
这个 GitHub 有意思啊,Claude Code + Obsidian = 知识库王炸。ZaferLiu2 天前
当Agent需要动手干活:Tool还是MCP?