我这里采用navicate连接,代理选择ssh代理,连接过程中总是出错。
一、错误现象错误日志:expected key exchange group packet from server二、解决方法:追加KexAlgorithmsvim /etc/ssh/sshd_configKexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1重启service sshd restart (centos6)systemctl restart sshd (centos7)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)