美文网首页
VS Code Mac 远程连接报错:Failed to par

VS Code Mac 远程连接报错:Failed to par

作者: 葵sunshine | 来源:发表于2021-06-29 19:26 被阅读0次
出错版本

SSH-Remote:0.65.7

完整报错信息
bash: line 1: _exitcode: command not found
bash: line 2: syntax error near unexpected token `elif'
bash: line 2: ` elif [[ $ALLOW_CLIENT_DOWNLOAD == "1" ]]; then'
-sh: 4: function: not found
-sh: 69: [[: not found
-sh: 90: [[: not found
-sh: 155: Syntax error: "(" unexpected (expecting "then")
Transferred: sent 18684, received 4372 bytes, in 0.2 seconds
Bytes per second: sent 79578.5, received 18621.1
local-server-1> ssh child died, shutting down

[19:03:59.174] Failed to parse remote port from server output
[19:03:59.176] Resolver error: Error: 
解决方案

Remote SSH -> Extension Setting -> "remote.SSH.useLocalServer": false


Mac版本的vscode把这里的勾去掉

相关文章

网友评论

      本文标题:VS Code Mac 远程连接报错:Failed to par

      本文链接:https://www.haomeiwen.com/subject/iqmkultx.html