在使用Rmote-ssh连接远程服务器时,会出现尝试写入的管道不存在的错误
[16:45:21.689] > The process tried to write to a nonexistent pipe.
尝试以下方案仍无法解决:
- 本地的C:\Users\user\.sshknown_hosts的原服务器信息全部删掉,然后重新连接
- 本地的C:\Users\user\.ssh\config删掉,然后重新连接
- 修改.ssh文件的权限
这个时候,打开vscode的设置File—preference-setting,将C:\Users\用户名\.sshconfig的路径输入到config file下
重新连接即可