Итак, я смог подключиться через SSH к серверу с помощью оболочки, и теперь я пытаюсь использовать Visual Studio Code Remote - SSH. Соединение SSH кажется успешным, но затем появляется сообщение «Не удалось установить соединение с .... VS Code Server не запустился».
Есть идеи, в чем может быть проблема?
- Локальная ОС: 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
}
}
Спасибо!