I am using a GIT repo on a server trying to setup Jenkins on it.
While trying to add the GIT repository it is giving error
Failed to connect to repository : Command "git ls-remote -h ssh+git://amit.sharma@192.169.30.65/opt/repo HEAD" returned status code 128:
stdout:
stderr: reverse mapping checking getaddrinfo for 192-169-30-65.dsl.beggstelco.net [192.169.30.65] failed - POSSIBLE BREAK-IN ATTEMPT!
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-with-mic,password).
fatal: The remote end hung up unexpectedly
Done a lot of things but couldn't make it work. I am using jenkin's own user database.
git ls-remote -h ssh+git://amit.sharma@192.169.30.65/opt/repo
Above line is getting executed from console successfully.
attaching the test build configuration
答案 0 :(得分:0)
您在上面看到的错误消息表明,由于反向映射错误,用于访问远程git存储库的SSH连接尝试失败。这表明65.30.169.192.in-addr.arpa
处的PTR记录存在问题。它目前解析为192-169-30-65.dsl.beggatelco.net
。但是,尝试使用您的DNS解决此问题并不会提供有效的回复,但会失败(注意:这也适用于我 - 所以它似乎是beggatelco.net管理员的一般问题)
如需更深入的了解,请参阅http://www.electrictoolbox.com/reverse-mapping-possible-break-in-ssh/
对我而言,你的参赛作品看起来很可疑:你真的想要从192.16 9 .30.65克隆回购 - 或者这不是一个错字吗?对我来说,您可能希望访问C类专用网络中的另一个框(rfc1918)。因此,您可能想要编写192.16 8 .30.65。