如果远程环境改变,比如系统重装,用vscode 重连时会有如下的错误:
[10:10:08.174] "install" terminal command done
[10:10:08.174] Install terminal quit with output: 过程试图写入的管道不存在。
[10:10:08.174] Received install output: 过程试图写入的管道不存在。
[10:10:08.174] Stopped parsing output early. Remaining text: 过程试图写入的管道不存在。
[10:10:08.174] Failed to parse remote port from server output
解决方法:
打开 “c:\Users\wujpbb7\.ssh\known_hosts”,删除连接失败主机那行即可。