VS Code Mac 远程连接报错:Failed to parse remote port from server output

出错版本

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 parse remote port from server output)