今天用git 突然就不行了,使用git push 始终报错:

但是,我确认ssh公钥是没有问题的,网络也是没有问题的。
上网搜索到的解决办法如下:
在ssh文件夹下:
路径:C:\Users\Administrator.ssh
增加一个不带后缀名的文件:config

##########################################################Host gitlab.comHostname altssh.gitlab.comUser gitPort 443PreferredAuthentications publickeyIdentityFile ~/.ssh/id_rsa##########################################################


这样就可以了。

ssh: connect to host gitee.com port 22: Connection timed out fatal: Could not read from remote repos相关推荐

  1. 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 remo ...

  2. 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'... ...

  3. Github拉取远端的时候提示“ssh: connect to host github.com port 22: Connection timed out”错误...

    在使用Github的时候,如果使用到拉取远端分支的时候或者测试ssh -T git@github.com的时候可能会出现连接失败的问题,错误描述为"ssh: connect to host ...

  4. git push失败:ssh:connect to host github.com port 22:Connection timed out

    问题描述:ssh:connect to host github.com port 22:Connection timed out 问题原因:可能是网络下修改防火墙的问题,导致阻塞了一些端口 解决方案: ...

  5. 【git】“ssh:connect to host github.com port 22: Connection timed out“问题的解决

    打开.ssh/config文件 22端口改443端口 运行ssh -T git@github.com 输入yes

  6. 【Git 教程系列第 27 篇】ssh: connect to host github.com port 22: Connection refused 的解决方案

    这是[Git 教程系列第 27 篇],如果觉得有用的话,欢迎关注专栏. 文章目录 一:问题描述 二:解决方案 一:问题描述 自己的一个 git 项目,昨天在公司正常 push 的时候,提示文字信息如下 ...

  7. git配置错误 ssh: connect to host github.com port 22: Connection refused

    最近学习到版本管理器git,感觉到它的强大之处,但在与远程仓库链接时出现了配置错误问题,所以就整理了一下我的具体解决步骤,不足之处,望大佬指点. 首先要找到一个.ssh文件 .ssh/ 是一个隐藏文件 ...

  8. 解决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 ...

  9. ssh: connect to host ip地址 port 22: Connection refused (deepin适用)

    进入根目录 cd / 开启ssh etc/init.d/ssh start

  10. GIT 远程仓库更换ip,导致本地拉取代码报错:ssh: connect to host 192.xxx.0.xxx port 22: Connection timed out fatal: Coul

    目录 报错信息 问题产生背景 解决方案 报错信息 git pull origin 1.0.0-develop ssh: connect to host xxx.xxxx.xx.xxx port 22: ...

最新文章

  1. POJ 1321 棋盘问题【DFS】
  2. MSSQL中的随机函数
  3. python拼写检查_Python 怎样写一个拼写检查器
  4. SAP S/4HANA分层存储仓库原理介绍LREP - Layered Repository
  5. oracle利用游标添加数据库,Oracle数据库游标的类型及使用实例全解
  6. 设计模式之代理:手动实现动态代理,揭秘原理实现
  7. hdu 2553(N皇后)
  8. 2018-2019-2 20189205《移动平台应用开发实践》第三周作业
  9. mysql 多表查询 like_MYSQL多表联合查询的问题
  10. 音频ncm格式文件转mp3,ncm转mp3
  11. pepe:从Pastebin收集邮件地址的信息
  12. win7无法设置时间更新服务器未响应,win7电脑提示系统时间设置有误请更新系统日期...
  13. 租客儿子高考608分,房东送上大礼“免租4年”
  14. Quotes on Learing(求知若渴)
  15. Android高手笔记 - IO优化
  16. 正方教务系统php登陆,正方教务管理系统最新版无条件注入GetShell | wooyun-2015-0122523| WooYun.org...
  17. 日语输入法促音和长音的输入
  18. 经济学硕士毕业论文题目【282个】
  19. 在安卓手机上实现莫尔斯编码器
  20. ubuntu容器下时区修改方法

热门文章

  1. 查看Linux内核版本命令
  2. [你必须知道的异步编程]——基于任务的异步模式
  3. Python 从入门到精通 全程最佳实现梳理
  4. iptables 端口转发--内网实现上网
  5. SOJ 4482 忽悠大神【最小生成树】
  6. Operation not applicable
  7. 关于断点续传的那些事
  8. Unity 之圆环算法
  9. elasticsearch核心原理
  10. Java 反射Reflection总结二