-
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
相关推荐
长不大的杨瑞杰1 小时前
GitHub Copilot Browser Use 实战:让 AI 在浏览器里调试与自动化测试大侠Luffy1 小时前
用 EmbeddingGemma 2 做一个本地照片与短视频搜索工具咖啡色格调2 小时前
项目已托管在 Gitee,如何同时推送到 GitHub人人都是软件工程师2 小时前
前端接了 Agent,为什么还是满屏自定义代码?读懂 AG-UI 的 31 个事件怕浪猫3 小时前
GLM-5.4 深度拆解:750B 参数如何「循环」出 2-3T 级智能?李永奉3 小时前
Git和GitHub-Git 管理的版本数据到底保存在哪个文件夹里?wflynn20 小时前
GitHub 今日推荐|univer:可嵌入 Web 应用的开源 Office 引擎dong_junshuai21 小时前
每天一个开源项目#163 Ghost Downloader:分块下载为何不用合并网易云信21 小时前
AI 写 IM 集成总用错 API?用云信 AI Skills 把文档接进开发流程猛码象限21 小时前
【GitHub 周报】换血八成,注意力从造 Agent 转向管 Agent