ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote...
ssh报错:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
在终端输入:$ ssh -T git@github.com
打开下图路径下查看是否有该文件:
没有的话就添加一个文件命名:config
内容为:
Host github.com
User git
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
在终端重新输入:$ ssh -T git@github.com
经过以上步骤即可解决标题报错!
ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote...相关推荐
- ssh: connect to host github.com port 22: Connection timed out
问题描述 $ git clone git@github.com:MaugerWu/MaugerWu.github.io.git Cloning into 'MaugerWu.github.io'... ...
- Github拉取远端的时候提示“ssh: connect to host github.com port 22: Connection timed out”错误...
在使用Github的时候,如果使用到拉取远端分支的时候或者测试ssh -T git@github.com的时候可能会出现连接失败的问题,错误描述为"ssh: connect to host ...
- git push失败:ssh:connect to host github.com port 22:Connection timed out
问题描述:ssh:connect to host github.com port 22:Connection timed out 问题原因:可能是网络下修改防火墙的问题,导致阻塞了一些端口 解决方案: ...
- 【git】“ssh:connect to host github.com port 22: Connection timed out“问题的解决
打开.ssh/config文件 22端口改443端口 运行ssh -T git@github.com 输入yes
- 【Git 教程系列第 27 篇】ssh: connect to host github.com port 22: Connection refused 的解决方案
这是[Git 教程系列第 27 篇],如果觉得有用的话,欢迎关注专栏. 文章目录 一:问题描述 二:解决方案 一:问题描述 自己的一个 git 项目,昨天在公司正常 push 的时候,提示文字信息如下 ...
- git配置错误 ssh: connect to host github.com port 22: Connection refused
最近学习到版本管理器git,感觉到它的强大之处,但在与远程仓库链接时出现了配置错误问题,所以就整理了一下我的具体解决步骤,不足之处,望大佬指点. 首先要找到一个.ssh文件 .ssh/ 是一个隐藏文件 ...
- 解决ssh: connect to host github.com port 22: Connection refused
网上的方案 链接: link 1. vim ~/.ssh/config Host github.com User xxxxx@xx.com Hostname ssh.github.com Prefer ...
- 解决 connect to host github.com port 22 operation timed out
本来好好地.不知道为什么不能push了.估计是被墙,于是搜搜解决办法.改换端口 参考 https://mozillazg.com/2015/08/use-443-port-fix-github-con ...
- ssh: connect to host ip地址 port 22: Connection refused (deepin适用)
进入根目录 cd / 开启ssh etc/init.d/ssh start
最新文章
- Android 动画的插值器 (Interpolator属性)
- android 不固定指示器,Android简单的页面指示器
- java开发经验分享_java开发经验分享(一)
- Unity 游戏开发技巧集锦之创建自发光材质
- html5 将资源存于客户端,HTML5离线应用与客户端存储的实现
- LOJ#6283. 数列分块入门 7
- Java 位运算和逻辑运算的区别
- java喷泉编码_Java干货分享使用JS实现简单喷泉效果
- 基于python的在线考试系统-Python程序设计考试系统的开发与应用.pdf
- 青岛大学计算机科学与技术类专业,青岛大学2017年大类招生专业类代码及所含专业说明...
- c/c++_消除非标准警告
- Android下adb shell的使用
- SpringBoot-15-之整合MyBatis-注解篇+分页
- 凌云ERP解析企业如何选择合适的ERP系统
- 猿创征文|时间序列分析算法之平稳时间序列预测算法和自回归模型(AR)详解+Python代码实现
- 【“科大讯飞杯”第十七届同济大学】A 张老师和菜哭武的游戏
- Red Team之Empire渗透工具介绍和使用
- 第10章 Spark(全面解读Spark架构体系)
- JAVA程序把大写转换小写_Java程序将字符串转换为小写和大写。
- LCD12864液晶显示