VM虚拟机里装了CentOS结果用SecureCRT链接报下面的错误。
Key exchange failed.
No compatible hostkey. The server supports these methods: ecdsa-sha2-nistp256,ssh-ed25519
先判断网络连通性测试:
主机ping VM虚拟机可以通
VM虚拟机ping 主机可以通
VM虚拟机ping www.landui.com 也可以通
正好有另外个正常的LINUX系统,下载sshd_config文件覆盖,
登录结果正常了。看来问题出在配置文件上。
重启SSH服务

SSH配置文件目录
