linux – DH GEX集团超出范围

linux – DH GEX集团超出范围,第1张

概述我突然出现问题SSH进入我的服务器: ssh -v --@--OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips 1 Mar 2016debug1: Reading configuration data /home/paul/.ssh/configdebug1: Reading configuration data /etc/ssh/ssh 我突然出现问题SSH进入我的服务器:
ssh -v --@--OpenSSH_7.2p2 Ubuntu-4ubuntu1,OpenSSL 1.0.2g-fips  1 Mar 2016deBUG1: Reading configuration data /home/paul/.ssh/configdeBUG1: Reading configuration data /etc/ssh/ssh_configdeBUG1: /etc/ssh/ssh_config line 19: Applying options for *deBUG1: Connecting to -- [--] port 22.deBUG1: Connection established.deBUG1: IDentity file /home/paul/.ssh/ID_rsa type 1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_rsa-cert type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_dsa type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_dsa-cert type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_ecdsa type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_ecdsa-cert type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_ed25519 type -1deBUG1: key_load_public: No such file or directorydeBUG1: IDentity file /home/paul/.ssh/ID_ed25519-cert type -1deBUG1: Enabling compatibility mode for protocol 2.0deBUG1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu1deBUG1: Remote protocol version 1.99,remote software version OpenSSH_6.6.1p1deBUG1: match: OpenSSH_6.6.1p1 pat OpenSSH_6.6.1* compat 0x04000000deBUG1: Authenticating to --:22 as 'root'deBUG1: SSH2_MSG_KEXINIT sentdeBUG1: SSH2_MSG_KEXINIT receiveddeBUG1: kex: algorithm: diffIE-hellman-group-exchange-sha1deBUG1: kex: host key algorithm: ssh-rsadeBUG1: kex: server->clIEnt cipher: aes128-cbc MAC: hmac-sha1 compression: nonedeBUG1: kex: clIEnt->server cipher: aes128-cbc MAC: hmac-sha1 compression: nonedeBUG1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<7680<8192) sentdeBUG1: got SSH2_MSG_KEX_DH_GEX_GROUPssh_dispatch_run_fatal: Connection to -- port 22: DH GEX group out of range

我已经广泛阅读了这个问题SSH: DH_GEX group out of range,但它似乎没有回答这个问题.我控制客户端和服务器,它们都使用常规的OpenSSH和Ubuntu linux.没有第三方.错误似乎也有点不同,它并没有抱怨比特化.

解决方法 看起来您正在针对较旧的OpenSSH服务器(OpenSSH 6.6.1p1)运行较新的OpenSSH客户端(OpenSSH 7.2p2).在 OpenSSH 7.1p2 release notes,它提到:
ssh(1),sshd(8): increase the minimum modulus size supported for
diffIE-hellman-group-exchange to 2048 bits.

从报告的错误消息中,看起来是您的客户端拒绝_server提供的DH组交换值.

因此,我想知道在您的客户端机器应用了一些软件包/更新的时候,“突发问题”是否开始发生.

根据这个描述非常类似问题的SecurityExchange post,“解决方案”可能是:a)修改服务器端的/ etc / ssh / moduli文件,使服务器不使用小于2048位的DH组,或者b )将服务器升级到OpenSSH 7.1p2或更高版本.

总结

以上是内存溢出为你收集整理的linux – DH GEX集团超出范围全部内容,希望文章能够帮你解决linux – DH GEX集团超出范围所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1041167.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存