1.在监控中心虚拟机上和虚拟机(113)的网络是正常的,telnet 22端口正常
2.但在监控中心ssh不到目标虚拟机提示:no kex alg
3.调整客户端/etc/sshd_config文件
vi /etc/sshd_config添加以下行到文件最后
- Ciphers aes128-ctr,aes192-ctr,aes256-ctr
- HostKeyAlgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
- KexAlgorithms ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
- MACs hmac-sha2-256,hmac-sha2-512,hmac-sha1
4.重启sshd服务
service sshd stop
service sshd start