华三交换机ssh不到华为交换机,日志提示密钥算法不匹配,需要怎么修改密钥算法
debug日志
*Jul 19 06:01:18:723 SSHC/7/EVENT: Connection established. *Jul 19 06:01:19:130 SSHC/7/EVENT: PAM initialization result: 0. . *Jul 19 06:01:19:139 SSHC/7/EVENT: PAM: Resources released. rsion - *Jul 19 06:01:19:140 SSHC/7/EVENT: Enabling compatibility mode for protocol 2.0 *Jul 19 06:01:19:143 SSHC/7/EVENT: Get self version string Comware-7.1.070 *Jul 19 06:01:19:144 SSHC/7/EVENT: Local version string SSH-2.0-Comware-7.1.070 *Jul 19 06:01:19:145 SSHC/7/MESSAGE: Prepare packet[20]. *Jul 19 06:01:19:149 SSHC/7/MESSAGE: Received packet type 20. *Jul 19 06:01:19:150 SSHC/7/EVENT: Received SSH2_MSG_KEXINIT. *Jul 19 06:01:19:150 SSHC/7/EVENT: My proposal kex: stp384,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 v3-ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ssh-rsa,ssh-dss r,AEAD_AES_128_GCM,AEAD_AES_256_GCM,aes128-cbc,3des-cbc,aes256-cbc,des-cbc r,AEAD_AES_128_GCM,AEAD_AES_256_GCM,aes128-cbc,3des-cbc,aes256-cbc,des-cbc c-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96 c-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96 *Jul 19 06:01:19:160 SSHC/7/EVENT: Kex strings(6): none,zlib,zlib@ope***.*** *Jul 19 06:01:19:161 SSHC/7/EVENT: Kex strings(7): none,zlib,zlib@ope***.*** *Jul 19 06:01:19:161 SSHC/7/EVENT: Kex strings(8): *Jul 19 06:01:19:161 SSHC/7/EVENT: Kex strings(9): *Jul 19 06:01:19:162 SSHC/7/EVENT: Peer proposal kex: ings(0): diffie-hellman-group-exchange-sha256 *Jul 19 06:01:19:162 SSHC/7/EVENT: Kex strings(1): rsa-sha2-512,rsa-sha2-256 ***.***,aes256-ctr,aes128-ctr,aes256-cbc,aes128-cbc,3des-cbc ***.***,aes256-ctr,aes128-ctr,aes256-cbc,aes128-cbc,3des-cbc hmac-sha2-256-96,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96 hmac-sha2-256-96,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96 *Jul 19 06:01:19:168 SSHC/7/EVENT: Kex strings(6): none,zlib *Jul 19 06:01:19:168 SSHC/7/EVENT: Kex strings(7): none,zlib *Jul 19 06:01:19:169 SSHC/7/EVENT: Kex strings(8): *Jul 19 06:01:19:169 SSHC/7/EVENT: Kex strings(9): hmac-sha2-256, Compress: none hmac-sha2-256, Compress: none r UNKNOWN because of key exchange algorithm mismatch. diffie-hellman-group-exchange-sha256 Connection closed.
3层组网 ping没问题 telnet没问题
(0)
将老的密钥对删除 重新ssh进入
(0)
没有密钥对
俩设备都看看 密钥不匹配
undo public-key peer xxx
(0)
什么版本,V200R021C10SPC600 R21以上才会内置weakea,不然要手动下载
没有public-key
什么版本,V200R021C10SPC600 R21以上才会内置weakea,不然要手动下载
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
俩设备都看看 密钥不匹配