使用 Jenkins 我无法通过 ssh 连接到 Debian Jessie 盒子



使用 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 curve25519-sha256@libssh.org,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

有人碰巧知道这些密码中的哪一个是 Jenkins 使用的密码吗?

最新更新