ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

wsl设置ssh时kex_exchange_identification: Connection closed by remote host问题

2026/8/10 12:27:06 拓冰建站 浏览量
wsl设置ssh时kex_exchange_identification: Connection closed by remote host问题

问题:

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

解决方案

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