Could not read from remote repository
来源:互联网 发布:查看淘宝店铺收藏人数 编辑:程序博客网 时间:2024/05/05 04:44
GITHUB连接方式SSH
- 什么是SSH
- 检查存在的SSH
- 生成新的SSH密钥并将其添加
- GITHUB配置SSH
- 测试SSH连接
- 使用SSH工作
上面是官网的文档,建议在使用之前一定要去看看,不要在使用git和ssh出现问题的时候上网乱查,现在网上有的写得很乱很杂,还不如直接看看官网。
我在用SSH出现过的问题,我把SSH配好了之测试连接ssh -T git@github.com
结果出现ssh_exchange_identification: read: Connection reset by peer
当时我是可以用Google Chrome可以直接访问GitHub就没有在意网络和公司安全策略的问题,我试了几下还是这样我就没太在意这个错误,接着我去git add .
和最后的git push origin master
,在git push origin master
又来了这个问题
ssh_exchange_identification: read: Connection reset by peerfatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
就这样上网一顿狂搜,0.0还是迷迷糊糊的,好郁闷。最后我还是老老实实的去官网看看人家怎么说的
The authenticity of host 'github.com (192.30.252.1)' can't be established.RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.Are you sure you want to continue connecting (yes/no)?
192.30.252.1当时看到这个IP地址我就怀疑我被安全策略了,
然后我把工程目录下的.git文件里面config种的url = https://github.com/user_name/file_name.git,还是https好用
$ git push -u origin masterCounting objects: 3, done.Writing objects: 100% (3/3), 210 bytes | 0 bytes/s, done.Total 3 (delta 0), reused 0 (delta 0)Branch master set up to track remote branch master from origin.To https://github.com/user_name/file_name.git * [new branch] master -> master
0 1
- fatal: Could not read from remote repository
- Could not read from remote repository.
- Could not read from remote repository
- Permission denied (publickey) fatal:Could not read from remote repository
- clone failed. Could not read from remote repository".
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository.
- Permission denied (publickey).fatal: Could not read from remote repository.
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository
- fatal: Authentication failed could not read from remote repository
- fatal: Could not read from remote repository.的解决办法
- Git Pull Failed: Could not read from remote repository
- git: Permission denied(publickey). fatal:Could not read from remote repository.
- Push failed: Failed with error: fatal: Could not read from remote repository.
- Git 解决Bug:fatal: Could not read from remote repository ——诺诺"涂鸦"记忆
- seetaface配置 未出现dll文件和lib文件解决方法
- Mysql 安装出现问题的 解决办法
- 软删除与唯一索引冲突的解决方案
- the best description to SYS module in python
- 1 docker环境使用tensorflow以及jupyter notebook的使用
- Could not read from remote repository
- ACM书中题目 M
- 查找算法和树总结
- Oracle之索引、权限
- 支持修改的主席树,例题:zoj2112
- PAT L1-017. 到底有多二
- linux 下的时间获取函数
- mysql 基础查询
- nmap学习之时间和性能