
获得徽章 0
赞了这篇文章
赞了这篇文章
#Github 昨天突然就操作不了GitHub仓库,push、pull都不行。折腾了代理,又换了ssh-key都不行。经过搜索,找到了解决方案
```
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 7890
```
```
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 7890
```
展开
2
6
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
#日常开发踩坑记录#
公司迁移gitlab,新服务器的ssh不是默认的22端口,拉取时报错:“.... port 22: Connection timed out”。
尝试方案1:修改.ssh/config配置,无效;
方案2:找运维要了新ssh端口,使用[git clone ssh://git@hostname:port/.../xxx.git]形式的命令(hostname=域名,port=端口),有效,问题解决。
公司迁移gitlab,新服务器的ssh不是默认的22端口,拉取时报错:“.... port 22: Connection timed out”。
尝试方案1:修改.ssh/config配置,无效;
方案2:找运维要了新ssh端口,使用[git clone ssh://git@hostname:port/.../xxx.git]形式的命令(hostname=域名,port=端口),有效,问题解决。
展开
2
点赞
赞了这篇文章