-
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
相关推荐
wangruofeng8 小时前
opencodex 解锁 Codex 任意模型,一个本地代理打通 Claude/Kimi/GLM/DeepSeek一点一木10 小时前
从60首歌到1个网站:输入你的故事,还你一首歌刘较瘦_15 小时前
AI 开发中的 Git Submodule 父子仓库模式:前后端分仓管理与协作实践DeMinds18 小时前
内容没有丢,我为什么总在重新整理?|DeMinds 如何让工作接着继续寒水馨18 小时前
macOS下载、安装openclaw-v2026.7.1(附安装包OpenClaw-2026.7.1.dmg)徐小夕19 小时前
花了3天,我写了一款开源AI公众号编辑器CCPC不拿奖不改名1 天前
大模型推理架构与开源生态知识整理redreamSo2 天前
一天涨 1800 星的 GitHub 榜首:AI 编程瓶颈变成了 token小弥儿2 天前
GitHub今日热榜 | 2026-07-20:AI Agent 知识体系迎来系统化梳理