本来好好地.不知道为什么不能push了.估计是被墙,于是搜搜解决办法.改换端口

参考 https://mozillazg.com/2015/08/use-443-port-fix-github-connection-timeout.html

参开: https://help.github.com/articles/using-ssh-over-the-https-port/

修改 ~/.ssh/config 中 github.com 的配置, Hostname 改为 ssh.github.comPort 改为 443:

如果没有config文件就手动创建一个

 Host github.com
Hostname ssh.github.com
Port

测试

ssh -T git@github.com
The authenticity of host '[ssh.github.com]:443 ([xxx.xxx.xxx.xxx]:443)' can't be established.
RSA key fingerprint is SHA256:xxxxxxxx....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[ssh.github.com]:443,[xxx.xxx.xxx.xxx]:443' (RSA) to the list of known hosts.
Hi unixc3t! You've successfully authenticated, but GitHub does not provide shell access.

最新文章

  1. nandaom
  2. 大小写互换-"数字字符串"转换成数字
  3. 【POJ 1679】The Unique MST(次小生成树)
  4. linux 搭建jenkins+创建maven工程JOB
  5. Query classification; understanding user intent
  6. 二分求解 三角形 stl的应用 涉及范围的二分查找可以先求上界再算下界,结果即上界减下界
  7. ElasticSearch(8)-分布式搜索
  8. ng7 设置文件路径别名
  9. C# 读取TXT文本数据 添加到数据库
  10. MySQL NULL处理
  11. day88
  12. Linux(CentOS7)安装zip、unzip命令
  13. oracle中实现自增id
  14. 【SDOI2011】工作安排
  15. 爱普生Me330 打印机改装连供系统计划
  16. 14个最常见的Kafka面试题及答案【转】
  17. 个人github blog环境设置
  18. PHP设计模式——责任链模式
  19. 4-oracle11g安装
  20. 移动端之touch事件--手指的滑动事件

热门文章

  1. 什么是 JSON ?
  2. python 抓取百度音乐
  3. nginx限制单个IP访问配置
  4. textarea关于空格和换行那点事
  5. MatLab/HR
  6. 分享一个ruby网站 | 菜鸟教程
  7. python built-in zip()
  8. Chapter 1: Design the application architecture
  9. elasticsearch 5.1 问题 ubuntu
  10. Vigenère密码