在阿里云新买了一台服务器,用的原正常运行的系统做的镜像文件,但在拉代码的时候提示如下报错:
[root@ap001 ]# git clone git@192.168.1.24:java/psd.git
Cloning into 'psd'...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

处理方案:
想起自己在gitlab服务器有设置了IP访问。开启了/etc/hosts.all。把新IP添加到hosts文件里即可,

转载于:https://blog.51cto.com/cainiaibage/2336570

在git clone报错相关推荐

  1. git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...

    原文:git clone报错:Permission denied (publickey). fatal: Could not read from remote repository- 今天clone一 ...

  2. 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect

    [git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...

  3. 【实习小tip】elementUI表格数值加减和实时计算、导出数据并解决手机号科学计数法格式问题、git clone报错:OpenSSL SSL_connect: SSL_ERROR_SYSCALL

    element表格数值加减和实时计算 实现效果: 代码: <el-table :data="voListForm" border show-summary :summary- ...

  4. git clone报错:repository ‘xxxxxxxxx’does not exist

    git clone时报错: [root@test01 test]git clone root@192.168.1.38/home/git/solo.git fatal: repository 'roo ...

  5. git clone 报错 Clone failed: Authentication failed for

    为什么80%的码农都做不了架构师?>>>    新装了系统,git和phpstorm的配置全都没有了,重新安装了git和phpstorm 系统:windows10 代码托管平台:阿里 ...

  6. git clone 报错:error: RPC failed; curl 18 transfer closed with outstanding read

    欢迎移步我的个人博客 git clone 时候报错如下 error: RPC failed; curl 18 transfer closed with outstanding read data re ...

  7. git clone 报错:fatal: unable to access ‘https://github.com/xxxxxxxxx/xxx.git/‘: gnutls_

    完整报错:fatal: unable to access 'https://github.com/xxxxxxx/xxxx.git/': gnutls_handshake() failed: The ...

  8. 【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 ...

  9. git clone报错:SSL certificate problem: unable to get local issuer certificate

    原因 这是由于当你通过HTTPS访问Git远程仓库的时候,如果服务器上的SSL证书未经过第三方机构认证,git就会报错.因为未知的没有签署过的证书意味着可能存在很大的风险 解决办法 设置关闭SSL验证 ...

最新文章

  1. Virtual 2004中安装DOS以及实现文件共享的方法
  2. linux系统基本操作命令
  3. 对KVM虚拟机进行cpu pinning配置的方法
  4. Linux 系统版本信息
  5. zoj 1154 Niven numbers
  6. linux下git的使用
  7. java abstract类和abstract方法
  8. 国外资源下载速度太慢怎么办
  9. “Hyperledger Fabric 是假区块链!”
  10. vue使用contenteditable 实现光标处插入自定义图片
  11. sap查看后台作业进度_SAP资产折旧运行 AFAB
  12. 【可靠性测试】之容错性测试---测试检查点罗列
  13. 金仓数据库KingbaseES V8R3使用Gorm指南
  14. linux命令整理(三)
  15. 在Ubuntu 18下安装SIMULIA Abaqus 2020
  16. python数据分析及可视化(房产数据)
  17. linux 查看硬盘使用率
  18. 从语义分析到操作系统,图灵机器人明年就能走进你家?
  19. Scala開發教程(1): 開始神奇的Scala編程之旅
  20. 史上十大权势女性排行榜:武则天为何不如慈禧

热门文章

  1. 倍福--IO模块灯亮没输出
  2. 算法租用游艇问题c语言,动态规划租用游艇问题
  3. 租用游艇问题 石子合并问题 动态规划实验
  4. (转载)MFC入门(四)  作者 zhoujiamurong
  5. 计算机flash听课记录范文,听课记录5篇
  6. 显示器颜色偏色的排查过程(偏黄、偏红、偏蓝、偏绿等)
  7. 关于便携式打印机程序开发(一、原生安卓蓝牙调用)
  8. 微信公众平台接口调试工具——蓝牙设备调试篇
  9. C++实现简单的停车场管理系统
  10. 关于字节跳动前端校招一二三面+HR面试过程