美文网首页
ssh: connect to host 主机名 port 22

ssh: connect to host 主机名 port 22

作者: Mr_不靠谱_先森 | 来源:发表于2022-12-09 13:12 被阅读0次
12:51:47.322: [../../project] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false clone --progress --recurse-submodules ssh://git@******/.git -- ****
Cloning into '*****'...
ssh: connect to host ****** port 30022: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

解决方案:

git config --global http.proxy "××××××:30080"

切换到自己公司仓服时候使用

git config --global http.proxy ""

相关文章

网友评论

      本文标题:ssh: connect to host 主机名 port 22

      本文链接:https://www.haomeiwen.com/subject/yipzfdtx.html