wsl设置ssh时kex_exchange_identification: Connection closed by remote host问题 发布时间:2026/9/25 1:07:24 尧图网站建设 问题: 在wsl所有ssh相关的东西设置好的情况下出现:kex_exchange_identification: Connection closed by remote host。 解决方案 如果是使用密码登陆的,修改/etc/ssh/sshd_config,将PasswordAuthentication改为yes即可。 网站建设 视觉设计 SEO优化 返回列表
问题: 在wsl所有ssh相关的东西设置好的情况下出现:kex_exchange_identification: Connection closed by remote host。 解决方案 如果是使用密码登陆的,修改/etc/ssh/sshd_config,将PasswordAuthentication改为yes即可。