问题:

在wsl所有ssh相关的东西设置好的情况下出现:kex_exchange_identification: Connection closed by remote host。

解决方案

如果是使用密码登陆的,修改/etc/ssh/sshd_config,将PasswordAuthentication改为yes即可。

精彩文章

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。