由端口导致git克隆失败的解决办法

2017-08-17  本文已影响0人  antelop

问题描述:

cloning into ‘test’ ...

ssh: connect to host 11.10.0.20 port 22: Connection refused

fatal: Could not read from remote repository.

解决方法:

用户:User    服务器地址:ServerID    端口:Port

克隆至本地命令格式改为:

git clone ssh://User@ServerID:Port/......

上一篇 下一篇

猜你喜欢

热点阅读