-
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 小时前
我把自己的应用上线了:从买服务器、域名和 DNS,到备案与 HTTPS邱杰4702 小时前
数智人事系统(十一):Spring Boot + MyBatis-Plus 的 CRUD 落地邱杰4702 小时前
数智人事系统(十三):考勤打卡与出勤日历小弥儿4 小时前
GitHub今日热榜 | 2026-10-12:pytorch 上升四位懒人86 小时前
本地配置推送至GitHub远程仓库SL_staff7 小时前
APS降本增效的关键:在JVS中实现‘人-机-料-法-环’全要素耦合调度chingho7 小时前
GitHub上这10个C#项目,不仅实用,还怪好玩的miofly7 小时前
Codex CLI 0.157.0 自动启动守护进程引发用户争议QuantiCore_IO8 小时前
量化回测复权数据的工程实践:从 API 获取到数据质量验证miofly8 小时前
Cursor 用 S3 上的 WAL 替代副本协调,Push 吞吐量超过每秒 300 次