问题描述:
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/......
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/......
本文标题:由端口导致git克隆失败的解决办法
本文链接:https://www.haomeiwen.com/subject/gvhgattx.html
网友评论