-
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
相关推荐
寻道码路2 小时前
【GitHub开源AI精选】WhisperX:70倍实时语音转录、革命性词级时间戳与多说话人分离技术南宫码农5 小时前
苹果cmsCoderJia程序员甲5 小时前
GitHub 热榜项目 - 日榜(2026-02-04)该用户已存在(真)7 小时前
工程项目训练--病毒分析小灰灰搞电子8 小时前
github/gitee 操作命令详解会写代码的饭桶10 小时前
【DevOps实战】使用 GitHub Actions 自动构建镜像并双推至 Docker Hub 和 GHCRMicrosoftReactor10 小时前
技术速递|GitHub Copilot SDK 与云原生的完美融合JiL 奥11 小时前
简易的 AWS SAM + GitHub Actions 项目潘晓可12 小时前
从自建Github实例迁移仓库到SaaS版Github极客小云12 小时前
【基于AI的自动商品试用系统:不仅仅是虚拟试衣!】