版本更新后SSH连接失败

更新前能够正常使用 更新后就失败 一直卡住

2026-04-14T10:58:03.719+08:00 [info] initBaseClient log sessionId: ccf03cb9-b8ea-4558-98cd-16cb59d31347, runtime: node

2026-04-14T10:58:03.719+08:00 [info] [Remote-SSH (TRAE)] activated

2026-04-14T10:58:03.719+08:00 [info] [1776135483713_958430]Resolving ssh remote authority ‘ssh-remote+7b22686f73744e616d65223a2231302e31302e302e323031222c2266726f6d436f6e666967223a747275657d’ (attempt #1)

2026-04-14T10:58:03.752+08:00 [info] [ServerConfig] enableCkgAhaRequest: true

2026-04-14T10:58:03.752+08:00 [info] [ServerConfig] enableSingletonCueServer: true

2026-04-14T10:58:03.755+08:00 [info] [1776135483713_958430][ResolvePipeline] Starting pipeline execution

2026-04-14T10:58:03.755+08:00 [info] [1776135483713_958430][ResolvePipeline] Executing step 1/6: establish_ssh_connection

2026-04-14T10:58:03.755+08:00 [info] [1776135483713_958430][establish_ssh_connection] :rocket: Step started: Establish SSH Connection

2026-04-14T10:58:03.756+08:00 [info] [1776135483713_958430][EstablishSSHStep] Starting SSH connection establishment

2026-04-14T10:58:04.149+08:00 [info] [1776135483713_958430][SSH] Connecting to 10.10.0.201

2026-04-14T10:58:04.192+08:00 [info] [1776135483713_958430][SSH] Full SSH command: C:\WINDOWS\System32\OpenSSH\ssh.exe -v -T -D 60069 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -o RemoteCommand=bash -l -c “exec bash --login” 10.10.0.201

2026-04-14T10:58:04.192+08:00 [info] [1776135483713_958430][SSH] Starting connection

2026-04-14T10:58:04.193+08:00 [info] [1776135483713_958430][SSH AskPass] Pipe listening: \\?\pipe\icube-askpass-undefined@10.10.0.201-1776135484192-2226a879

2026-04-14T10:58:04.195+08:00 [info] [1776135483713_958430][SSH AskPass] askpass script: d:\software\Trae CN\resources\app\extensions\cloudide.icube-remote-ssh\out\askpass-main.js

2026-04-14T10:58:04.208+08:00 [info] [1776135483713_958430][SSH] AskPass environment variables set: {“SSH_ASKPASS”:“C:\\WINDOWS\\Temp\\trae-ssh-askpass-711om1w7\\askpass.cmd”,“SSH_ASKPASS_REQUIRE”:“force”,“DISPLAY”:“0”,“VSCODE_SSH_ASKPASS_NODE”:“D:\\software\\Trae CN\\Trae CN.exe”,“VSCODE_SSH_ASKPASS_MAIN”:“d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“\\\\?\\pipe\\icube-askpass-undefined@10.10.0.201-1776135484192-2226a879”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”}

2026-04-14T10:58:04.208+08:00 [info] [1776135483713_958430][SSH] Local server process started with PID: 33972, server details: {“serverId":"undefined@10.10.0.201”,“sshCommand”:“C:\\WINDOWS\\System32\\OpenSSH\\ssh.exe”,“sshArgs”:[“-v”,“-T”,“-D”,“60069”,“-o”,“StrictHostKeyChecking=no”,“-o”,“UserKnownHostsFile=/dev/null”,“-o”,“ServerAliveInterval=10”,“-o”,“ServerAliveCountMax=3”,“-o”,“RemoteCommand=bash -l -c \“exec bash --login\””,“10.10.0.201”],“ipcHandlePath”:“\\\\?\\pipe\\icube-ssh-undefined@10.10.0.201-1776135484191-70f9dde3”,“serverDataFolderName”:“.trae-cn-server”,“dataFilePath”:“C:\\Users\\杨俊实\\AppData\\Local\\Temp\\vscode-ssh-undefined@10.10.0.201-25828-egib2dy2.json”}

2026-04-14T10:58:04.208+08:00 [info] [1776135483713_958430][SSH] State transition: initializing → waiting_for_server: {“reason”:“started waiting for server”,“duration”:0,“newStateTimeout”:540000}

2026-04-14T10:58:04.441+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Connection established.”,“category”:“connection”}

2026-04-14T10:58:04.472+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“get_agent_identities: ssh_get_authentication_socket: No such file or directory”,“category”:“auth”}

2026-04-14T10:58:04.519+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Authentications that can continue: publickey,password”,“category”:“auth”}

2026-04-14T10:58:04.520+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Next authentication method: publickey”,“category”:“auth”}

2026-04-14T10:58:04.529+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Authentications that can continue: publickey,password”,“category”:“auth”}

2026-04-14T10:58:04.540+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Authentications that can continue: publickey,password”,“category”:“auth”}

2026-04-14T10:58:04.541+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Next authentication method: password”,“category”:“auth”}

2026-04-14T10:58:04.794+08:00 [info] [1776135483713_958430][SSH] Authentication required: {"type":“password”,“request”:"yangjunshi@10.10.0.201’s password: ",“isRetry”:false,“attempt”:1}

2026-04-14T10:58:04.794+08:00 [info] [1776135483713_958430][SSH] State transition: waiting_for_server → waiting_for_auth: {“reason”:“password authentication required (attempt 1)”,“duration”:585,“newStateTimeout”:300000}

2026-04-14T10:58:04.794+08:00 [info] [1776135483713_958430][ResolveInteractionEngine] Using user interaction handler ‘password-input’ for type ‘password_input’

2026-04-14T10:58:05.227+08:00 [info] [1776135483713_958430][SSH] localServerProcess is ready, executing remote script

2026-04-14T10:58:05.227+08:00 [info] [1776135483713_958430][SSH] State transition: waiting_for_auth → establishing: {“reason”:“local server ready”,“duration”:433,“newStateTimeout”:60000}

2026-04-14T10:58:05.227+08:00 [info] [1776135483713_958430][SSH] Executing remote validation script in ESTABLISHING state

2026-04-14T10:58:08.143+08:00 [info] [1776135483713_958430][PasswordInputInteraction] Password cached for session

2026-04-14T10:58:08.143+08:00 [info] [1776135483713_958430][SSH] Authentication provided: {"type":“password”,“request”:"yangjunshi@10.10.0.201’s password: ",“attempt”:1}

2026-04-14T10:58:08.194+08:00 [info] [1776135483713_958430][SSH] SSH authentication progress: {“message”:“Authentication or connection progress detected”,“output”:“Authenticated to 10.10.0.201 ([10.10.0.201]:22) using \“password\”.\r\n”}

2026-04-14T10:58:08.194+08:00 [info] [1776135483713_958430][SSH] Detected SOCKS proxy listening on ::1:60069

2026-04-14T10:58:08.194+08:00 [info] [1776135483713_958430][SSH] SSH authentication progress: {“message”:“Authentication or connection progress detected”,“output”:"debug1: Local connections to LOCALHOST:60069 forwarded to remote address socks:0\r\ndebug1: Local forwarding listening on ::1 port 60069.\r\ndebug1: channel 0: new port-listener [port listener] (inactive "}

2026-04-14T10:58:08.194+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“Local connections to LOCALHOST:60069 forwarded to remote address socks:0”,“category”:“connection”}

2026-04-14T10:58:08.194+08:00 [info] [1776135483713_958430][SSH] SSH debug info: {“level”:“debug1”,“message”:“channel 1: new port-listener [port listener] (inactive timeout: 0)”,“category”:“channel”}

2026-04-14T10:58:08.717+08:00 [info] [1776135483713_958430][SSH] Connection validation successful: {“output”:“/bin/bash\n9bd7669ddeba: running\n”}

2026-04-14T10:58:08.717+08:00 [info] [1776135483713_958430][SSH] State transition: establishing → connected: {“reason”:“connection established”,“duration”:3490,“newStateTimeout”:0}

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][SSH] Connection established

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][EstablishSSHStep] SSH connection event received

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][EstablishSSHStep] Password verified and cached

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][EstablishSSHStep] SSH connection established successfully

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][establish_ssh_connection] :white_check_mark: Step completed successfully in 4964ms

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][ResolvePipeline] Step ‘establish_ssh_connection’ completed in 4964ms

2026-04-14T10:58:08.718+08:00 [info] [1776135483713_958430][ResolvePipeline] Executing step 2/6: check_system_requirements

2026-04-14T10:58:08.719+08:00 [info] [1776135483713_958430][check_system_requirements] :rocket: Step started: Check System Requirements

2026-04-14T10:58:08.720+08:00 [info] [1776135483713_958430][CheckSystemStep] Starting system requirements check, enhancedCompatibilityMode:false

2026-04-14T10:58:14.033+08:00 [info] [1776135483713_958430][CheckSystemStep] System info collected: {

“platform”: “linux”,

“arch”: “x86_64”,

“serverArch”: “x64”,

“osReleaseId”: “ubuntu”,

“osVersionId”: “24.04”,

“glibcVersion”: “2.39”,

“downloadTool”: “curl”,

“decompressTool”: “tar”,

“hasXz”: true,

“hasGzip”: true,

“noProxyByted”: “false”,

“tmpDir”: “/run/user/1000”

}

2026-04-14T10:58:14.033+08:00 [info] [1776135483713_958430][check_system_requirements] :white_check_mark: Step completed successfully in 5315ms

2026-04-14T10:58:14.034+08:00 [info] [1776135483713_958430][ResolvePipeline] Step ‘check_system_requirements’ completed in 5315ms

2026-04-14T10:58:14.034+08:00 [info] [1776135483713_958430][ResolvePipeline] Executing step 3/6: check_server_requirement

2026-04-14T10:58:14.034+08:00 [info] [1776135483713_958430][check_server_requirement] :rocket: Step started: Check Server Requirement

2026-04-14T10:58:14.035+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Starting server requirement check

2026-04-14T10:58:14.035+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Using local version: 1136275293954_9

2026-04-14T10:58:14.054+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Server not found locally

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Remote version: 1136275293954_9, Local version: undefined

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Local server not found, installation required

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][CheckServerRequirementStep] Server installation required: true

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][check_server_requirement] :white_check_mark: Step completed successfully in 21ms

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][ResolvePipeline] Step ‘check_server_requirement’ completed in 22ms

2026-04-14T10:58:14.055+08:00 [info] [1776135483713_958430][ResolvePipeline] Executing step 4/6: install_remote_server

2026-04-14T10:58:14.056+08:00 [info] [1776135483713_958430][install_remote_server] :rocket: Step started: Install Remote Server

2026-04-14T10:58:14.056+08:00 [info] [1776135483713_958430][InstallServerStep] Starting remote server installation

2026-04-14T10:58:14.065+08:00 [info] [ServerConfig] enableCkgAhaRequest: true

2026-04-14T10:58:14.065+08:00 [info] [ServerConfig] enableSingletonCueServer: true

2026-04-14T10:58:14.124+08:00 [info] [1776135483713_958430][installCodeServer] Resolved package details: {“packageName”:“Trae CN-linux-x64-1136275293954_9.tar.xz”,“downloadUrl”:“https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/Trae CN-linux-x64-1136275293954_9.tar.xz”,“downloadMD5Url”:“https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/Trae CN-linux-x64-1136275293954_9.tar.xz.md5”,“remoteVersion”:“1136275293954_9”,“fetchToolUrl”:“https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/fetch-linux-x64.tar.gz",“binFolder”:“stable-1bf48bf2aeb36cef9faa4037633f8b8302b907d1-debian10”,“compression”:".tar.xz”}

2026-04-14T10:58:14.124+08:00 [info] [1776135483713_958430][installCodeServer] Using preset remote version: 1136275293954_9

2026-04-14T10:58:29.511+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“error”,“category”:“general”,“message”:“tar: Child returned status 1”,“output”:“tar: Child returned status 1\ntar: Error is not recoverable: exiting now\n”}

2026-04-14T10:58:39.531+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“error”,“category”:“general”,“message”:“tar: Child returned status 1”,“output”:“tar: Child returned status 1\ntar: Error is not recoverable: exiting now\n”}

2026-04-14T10:58:59.600+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“warning”,“category”:“general”,“message”:“Warning: tar.xz compression is not supported on this system. Falling back to tar.gz.”,“output”:“Warning: tar.xz compression is not supported on this system. Falling back to tar.gz.\nDownload failed, retry attempt 1…\n”}

2026-04-14T10:59:20.675+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“error”,“category”:“general”,“message”:“Download failed, retry attempt 2…”,“output”:“Download failed, retry attempt 2…\n”}

2026-04-14T10:59:41.748+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“error”,“category”:“general”,“message”:“Download failed, retry attempt 3…”,“output”:“Download failed, retry attempt 3…\n”}

2026-04-14T10:59:42.751+08:00 [info] [1776135483713_958430][SSH] General SSH error detected: {“severity”:“error”,“category”:“network”,“message”:“Error: Download failed after 3 retry attempts”,“output”:“Error: Download failed after 3 retry attempts\n6486799eb5fddf4932d88ff4: start\nexitCode==2001==\nerrorMessage==Download server failed after 3 retry attempts==\nlisteningOn====\nconnectionToken====\nlogFile”}

2026-04-14T10:59:42.756+08:00 [info] [1776135483713_958430][installCodeServer] Server install log: no server logfile: /home/yangjunshi/.trae-cn-server/.stable-1bf48bf2aeb36cef9faa4037633f8b8302b907d1-7835241a.log

2026-04-14T10:59:42.758+08:00 [info] [1776135483713_958430]Server install result: {

‘’: undefined,

exitCode: ‘2001’,

errorMessage: ‘Download server failed after 3 retry attempts’,

listeningOn: ‘’,

connectionToken: ‘’,

logFile: ‘/home/yangjunshi/.trae-cn-server/.stable-1bf48bf2aeb36cef9faa4037633f8b8302b907d1-7835241a.log’,

osReleaseId: ‘ubuntu’,

arch: ‘x86_64’,

platform: ‘linux’,

tmpDir: ‘/run/user/1000’,

downloadTool: ‘wget’,

downloadTime: ‘0s’,

httpsProxy: ‘’,

regionDetectJson: ‘’,

downloadRetryCount: ‘3’,

extractRetryCount: ‘0’

}

2026-04-14T10:59:42.758+08:00 [info] [1776135483713_958430]Server install step: {

using_local_script: ‘true’,

trae_start: ‘true’,

server_dir: ‘true’,

check_region: ‘true’,

get_remote_version: ‘true’,

need_install_true: ‘true’

}

2026-04-14T10:59:42.759+08:00 [error] [1776135483713_958430][InstallServerStep] Server installation failed: server_download_error: exitCode: 2001, Download server failed after 3 retry attempts

at f (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:770673)

at t.installCodeServer (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:767127)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async r.executeImpl (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:1273952)

at async r.execute (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:878210)

at async u.executeStep (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:804189)

at async u.execute (d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:801373)

at async d:\\software\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\extension.js:2:1508161 {

[stack]: [Getter/Setter],

[message]: ‘exitCode: 2001, Download server failed after 3 retry attempts’,

name: ‘server_download_error’

}

2026-04-14T10:59:42.759+08:00 [warning] [1776135483713_958430][install_remote_server] :warning: Step failed after 88704ms (retry available)

2026-04-14T10:59:42.759+08:00 [info] [1776135483713_958430][ResolvePipeline] Step ‘install_remote_server’ failed in 88704ms

2026-04-14T10:59:42.760+08:00 [info] [1776135483713_958430][ResolvePipeline] Jumping to step: local_install_remote_server

2026-04-14T10:59:42.760+08:00 [info] [1776135483713_958430][ResolvePipeline] Executing step 5/6: local_install_remote_server

2026-04-14T10:59:42.760+08:00 [info] [1776135483713_958430][local_install_remote_server] :rocket: Step started: Local Install Remote Server

2026-04-14T10:59:42.761+08:00 [info] [1776135483713_958430][LocalInstallServerStep] Fallback to local installation after remote failure

2026-04-14T10:59:42.761+08:00 [info] [1776135483713_958430][LocalInstallServerStep] Remote failure reason: exitCode: 2001, Download server failed after 3 retry attempts

2026-04-14T10:59:42.764+08:00 [info] [1776135483713_958430][resolvePackageDetails] Loaded local version for commit 1bf48bf2aeb36cef9faa4037633f8b8302b907d1: 1136275293954_9

2026-04-14T10:59:42.784+08:00 [info] [1776135483713_958430][resolvePackageDetails] Resolved package details: {“packageName”:“Trae CN-linux-x64-1136275293954_9.tar.xz”,“downloadUrl”:“https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/Trae CN-linux-x64-1136275293954_9.tar.xz”,“downloadMD5Url”:“https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/Trae CN-linux-x64-1136275293954_9.tar.xz.md5”,“remoteVersion”:“1136275293954_9”}

2026-04-14T10:59:42.786+08:00 [info] [1776135483713_958430]Downloading fetch tool: https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/server/releases/stable/1bf48bf2aeb36cef9faa4037633f8b8302b907d1/linux-debian10/fetch-linux-x64.tar.gz

2 个赞