使用Jenkin CI的“ SSH插件”,我无法使用密码身份验证连接到Debian Jessie盒。我可以直接用本地终端将ssh放到盒子里,没问题。我在Debian Wheezy或Ubuntu LTS上没有相同的问题。有任何想法吗?这不是iptables问题,防火墙是敞开的。
最佳答案
openssh-server 6.7的更改存在错误:
http://www.openssh.com/txt/release-6.7
Changes since OpenSSH 6.6
=========================
Potentially-incompatible changes
* sshd(8): The default set of ciphers and MACs has been altered to
remove unsafe algorithms. In particular, CBC ciphers and arcfour*
are disabled by default.
The full set of algorithms remains available if configured
explicitly via the Ciphers and MACs sshd_config options.
我认为Jenkins需要将ssh客户端更新为受支持的安全密码。我将以下内容添加到我的sshd_config中,它成功了:
KexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
有人偶然知道詹金斯使用的是哪种密码?
关于linux - 使用Jenkins,我无法通过ssh连接到Debian Jessie盒,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/29838184/