You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code Server安装连接卡顿求助:自动与手动部署均失败

问题描述
  • 无法连接部署在服务器上的VS Code Server,多次尝试均失败
  • 手动用wget下载VS Code Server安装包后,执行tar解压命令时卡住,直至服务器断开连接
  • 执行remote-ssh: kill server on host操作后,让VS Code自动下载VS Code Server,界面显示Downloading VS Code Server后卡顿,该问题重复出现
疑问
  1. 此问题是服务器网络故障导致,还是存在配置错误?
  2. scp是否比wget更适合传输VS Code Server安装包?原因是什么?
  3. 应该选择VS Code自动安装还是手动安装?
日志配置信息
[19:19:09.345] remote.SSH.useLocalServer = false
[19:19:09.345] remote.SSH.useExecServer = false
[19:19:09.345] remote.SSH.bindHost = {}
[19:19:09.345] remote.SSH.showLoginTerminal = false
[19:19:09.346] remote.SSH.path = undefined
[19:19:09.346] remote.SSH.configFile = undefined
[19:19:09.346] remote.SSH.useFlock = true
[19:19:09.346] remote.SSH.lockfilesInTmp = true
[19:19:09.346] remote.SSH.localServerDownload = auto
[19:19:09.346] remote.SSH.remoteServerListenOnSocket = false
[19:19:09.346] remote.SSH.defaultExtensions = []
[19:19:09.346] remote.SSH.defaultExtensionsIfInstalledLocally = []
[19:19:09.346] remote.SSH.loglevel = 2
[19:19:09.346] remote.SSH.enableDynamicForwarding = true
[19:19:09.346] remote.SSH.enableRemoteCommand = false
[19:19:09.346] remote.SSH.serverPickPortsFromRange = {}
[19:19:09.346] remote.SSH.serverInstallPath = {}
[19:19:09.346] remote.SSH.permitPtyAllocation = false
[19:19:09.346] remote.SSH.preferredLocalPortRange = undefined
[19:19:09.346] remote.SSH.useCurlAndWgetConfigurationFiles = false
[19:19:09.346] remote.SSH.experimental.chat = false
[19:19:09.347] remote.SSH.experimental.enhancedSessionLogs = false
[19:19:09.347] remote.SSH.httpProxy = {}
[19:19:09.347] remote.SSH.httpsProxy = {}
[19:19:09.351] VS Code version: 1.99.3
手动操作命令

解压命令

tar -xzvf ~/.vscode-server/bin/17baf841131aa23349f217ca7c570c76ee87b957/vscode-server.tar.gz \
    -C ~/.vscode-server/bin/17baf841131aa23349f217ca7c570c76ee87b957 \
    --strip-components=1

下载命令

wget https://update.code.visualstudio.com/commit:17baf841131aa23349f217ca7c570c76ee87b957/server-linux-x64/stable -O vscode-server.tar.gz

内容的提问来源于stack exchange,提问作者BOB

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.13 09:02:04