美文网首页
mac环境下git gitlab 无法通过ssh clone p

mac环境下git gitlab 无法通过ssh clone p

作者: chozee | 来源:发表于2021-01-05 16:36 被阅读0次

问题描述:

新mac无法通过ssh pull clone代码
重新生成配置ssh秘钥也无法
只有http协议可以clone pull等等

环境:

gitlab公司私服
MacOS 10.15.4

原因:

代理问题导致的
是我本机的 V2ray 开启了 pac 模式,导致了这一问题出现

解决办法:

brew install openss

ssh秘钥成功验证:

 ssh -T git@你的私服域名

会提示:

Welcome to GitLab, xxx

相关文章

网友评论

      本文标题:mac环境下git gitlab 无法通过ssh clone p

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