无法连接到netbeans远程服务器上的git存储库
问题描述:
我在远程服务器上创建了一个git repo。
我想通过netbeans访问该回购。 我跟着无法连接到netbeans远程服务器上的git存储库
team->git->clone
这是错误
截图这是git仓库的位置。
http://mobimage.co/index.php?i=b93e28
这是回购地址: http://188.226.161.12/repo.git/
答
你有没有设置远程服务器来支持HTTP?
如果不是简单地创建SSH密钥ssh-keygen -t rsa -C "email"
并将私钥上传到您的远程服务器。
现在你将能够通过ssh克隆它。
如果您不想添加ssh密钥,请使用https://
原型协议,它会促使您输入tpassword。
答
如果你想在C:Users\username\.gitconfig
sslVerify = false[http]
上https
必须添加一些配置数据连接的git通过命令行
git config --global http.sslVerify false
你好,我想你说什么,发生了此问题。 http://mobimage.co/index.php?i=37338f但我确信我在服务器上发送了正确的ssh密钥。 – sudo
这个网址必须像这样:ssh://[email protected]/repo.url必须以ssh开头 – CodeWizard