赞
踩
ssh登录服务报如下错误
Key exchange failed.
No compatible key exchange method
SecureCRT版本过低,Centos不支持相关的登录协议
vi /etc/ssh/sshd_config
#加入下面的文本 如果存在只需要把KexAlgorithms后面添加到原有协议后面注意前面加逗号
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
#重启ssh
systemctl restart sshd.service
登录成功;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。