我已经使用shell成功连接到服务器,现在我正在尝试使用Visual Studio Code Remote - SSH。SSH连接似乎成功,但是接下来我会收到提示:"Could not establish connection to ... . The VS Code Server failed to start."
有什么想法可以解决这个问题吗?
- 本地操作系统: Windows 10带有本地SSH客户端
- 远程操作系统: CentOS 7(没有sudo权限)
- 日志:
[14:39:44.369] >
Server did not start successfully. Full server log >>>
/users/XXX/.vscode-server/bin/f359dd69833dd8800b54d458f6d37ab7c78df520/server.sh: line 12: 26789
Aborted "$ROOT/node" ${INSPECT:-} "$ROOT/out/vs/server/main.js" "$@"
[14:26:33.056]
<<< End of server log
b65f23a8e10a##32##
[14:26:33.607] "install" terminal command done
[14:26:33.608] Install terminal quit with output: b65f23a8e10a##32##
[14:26:33.608] Received install output: b65f23a8e10a##32##
[14:26:33.611] Resolver error: The VS Code Server failed to start
[14:26:33.618] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","gotUnrecognizedPrompt":"0","remoteInConfigFile":"1"},"measures":{"resolveAttempts":1,"exitCode":32,"retries":1}}
[14:26:33.622] ------
- 遥测格式正确:
{
"eventName":"resolver",
"properties": {
"outcome":"failure",
"reason":"ExitCode",
"askedPw":"0",
"askedPassphrase":"0",
"asked2fa":"0",
"askedHostKey":"0",
"gotUnrecognizedPrompt":"0",
"remoteInConfigFile":"1"
},
"measures":{
"resolveAttempts":1,
"exitCode":32,
"retries":1
}
}
谢谢!