转自:https://blog.csdn.net/weixin_45266856/article/details/129754122
是ssh
中的key
交换算法不兼容导致
ssh报错解决:
vi /etc/ssh/sshd_config
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]
service sshd restart
标签:sha1,java,exchange,报错,ssh,closed,diffie,hellman From: https://www.cnblogs.com/wuyun-blog/p/17730897.html