fatal: unable to access ‘https://github.com/xxx/123.git/‘: Failed connect to github.com:443 解决方案
在linux上git clone时遇到
fatal: unable to access 'https://github.com/xx/xx.git/': Failed connect to github.com:443; Connection timed out时如图
解决方法:把https:改成git
git clone git@github.com:xx/xx.git
如果没有成功,遇上以下报错
no such identity: /root/.ssh/id_rsa: No such file or directory
Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
配置用户名,邮箱
git config --global user.email "123@126.com"
给该邮箱设置公钥
ssh-keygen -t rsa -C "123@126.com"
回车三次后 得到如图
设置成功后进入~/.ssh,
cd ~/.ssh
cat id_rsa.pub
复制公钥(ssh-rsa到邮箱那一块就是了)到github上的settings上添加设置的公钥
后面再回linux上重新克隆就没有问题了
fatal: unable to access ‘https://github.com/xxx/123.git/‘: Failed connect to github.com:443 解决方案相关推荐
- fatal: unable to access ‘https://gitee.com/xxx.git/‘: SSL certificate problem:
早上上班打开电脑,按照惯例更新一下代码,嗯?怎么更新不了了呢!换个项目试试,哎?!怎么还不行,还报错fatal: unable to access 'xxx.git/': SSL certificat ...
- git解决fatal: unable to access ‘https://gitee.com/XXX.git/‘: The requested returned error: 403
403无权限访问 windows用户凭据不一致导致 解决:控制面板->凭据管理器->windows凭据->git:https:gitxxx(把当前账户名更改上去)
- Git ----fatal: unable to access ‘https://gitee.com/***.git/‘: SSL certificate problem: unable
fatal: unable to access 'https://gitee.com/gzllkm/GZL.git/': SSL certificate problem: unable to get ...
- fatal: unable to access ‘https://github.com/xxx/‘: Failed to connect to 127.0.0.1 port 7890: Connect
git clone 项目的时候遇到报错: fatal: unable to access 'https://github.com/xxx/': Failed to connect to 127.0.0 ...
- fatal: unable to access ‘https://github.com/xxxxx/xxx.git/‘: OpenSSL SSL_read: Connection was reset,
写完代码想push到GitHub上: git push origin master 但是出问题了: fatal: unable to access 'https://github.com/xxxxx/ ...
- 【Linux】git clone报错fatal: unable to access ‘https://github.com/xxx.git/‘: Encountered end of file
目录 1.问题 2.解决 3.参考 1.问题 git clone代码时突然报错...貌似时不时遇到这个问题,这次遇到了准备简单mark下 git clone https://github.com/xx ...
- 【git push指令提交项目报错】 fatal: unable to access ‘https://github.com/xxxxx/xxx.git/‘: OpenSSL SSL_read: Co
在用git push指令提交项目时,由于网络等各种原因时常报错,针对以下几个问题,本文提供解决方法,亲测有效! 问题一: fatal: unable to access 'https://github ...
- git clone 出现fatal: unable to access ‘https://github.com/xxx: Failed to connect to github.com
问题描述: 使用git clone命令时,出现如下错误: fatal: unable to access 'https://github.com/xxx': Failed to connect to ...
- 【Git 问题及解决方案】fatal: unable to access ‘https://github.com/xxx/yyy.git/‘: OpenSSL SSL_read: Con
一.问题 执行命令 git push origin master,出现如下问题: fatal: unable to access 'https://github.com/xxx/yyy.git/': ...
最新文章
- TermCriteria模板类
- php自动关机代码,win10怎么设置自动关机
- python中mode_python中的model模板中的数据类型
- Shell中的循环语句
- 同时买票是怎么实现的_刷脸进站,语音买票!广州地铁这波操作666~
- 从Chrome源码看audio/video流媒体实现二
- 企业五大模式,多看两遍你就懂了
- [2014-12-30]如何动态构造Lambda表达式(动态构造Lambda查询条件表达式)
- 李宏毅机器学习笔记day3
- 栅栏密码(Fence crypto)
- SPSS教程—进行皮尔逊相关性分析的步骤
- 海思3518C 4G模块移植及运用
- 解决虚拟机IP地址无法获取和网络无法连接
- autodesk fbx sdk sample里面的工程无法调试解决方法
- Dreaming to Distill: Data-free Knowledge Transfer via DeepInversion
- 微信小程序实战八:优惠券页面的实现
- 四种环境下编译nanomsg库
- 前置机应用服务器,web服务器前置机(erp)部署步骤.pdf
- JAVA环境变量配置详解(全网最新详细教程)
- 《征服老板:零基础做出高逼格PPT》笔记(四)