-
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
相关推荐
狂炫冰美式8 小时前
你还在古法PPT吗,试试HTML呢?免费编辑导出工具给 xdm 放这了Thecozzy10 小时前
PR经历(Understand-Anything)猎奇不再看12 小时前
MAF的Agent详解:连接LLM的IChatClient对象_Evan_Yao13 小时前
一文搞懂:Git分支管理与团队协作规范——从GitFlow到GitHub Flow,从rebase到merge,打造高效协作流lxw184491251414 小时前
github 提示双因素认证逛逛GitHub15 小时前
你的 AI Agent 每次请求都在干嘛?这个开源项目帮你扒个底朝天。用户4802615847015 小时前
Remeda:data-first 和 data-last,它全都要花椒技术16 小时前
AI 代码评审落地实践:GitLab 接入、项目规则与反馈闭环袋子(PJ)16 小时前
2026最新GitHub发布项目全过程拓研C17 小时前
EM-Core-Agent:AI Agent 具身认知核心系统——架构白皮书 V1.0