解决vscode远程连接报尝试写入的管道不存在,ssh remote, The process tried to write to a nonexistent pipe.
在vscode中使用Remote-ssh连接ubuntu远程服务器时,会出现尝试写入的管道不存在的错误。
一、原因分析
可能之前的用该ip连接过这台wsl服务器导致的ssh密钥不一致,出现的问题。
二、解决办法
找到路径:C:UsersAdministrator.ssh下的known_hosts,在里面找到当前主机的ip行删除
然后重新使用Remote-ssh 进行远程链接即可解决该问题。