SSH连接失败,需要下载fetch,无法连接trae

2026-04-10T20:23:46.445+08:00 [info] initBaseClient log sessionId: a562e126-df96-4a12-8676-8ec7b70d5fab, runtime: node

2026-04-10T20:23:46.445+08:00 [info] [Remote-SSH (TRAE)] activated

2026-04-10T20:23:46.524+08:00 [info] [1775823826522_243302]Resolving ssh remote authority ‘ssh-remote+7b22686f73744e616d65223a227373682e73643561692e73636e65742e636e227d’ (attempt #1)

2026-04-10T20:23:46.532+08:00 [info] [ServerConfig] enableCkgAhaRequest: false

2026-04-10T20:23:46.532+08:00 [info] [ServerConfig] enableSingletonCueServer: true

2026-04-10T20:23:46.534+08:00 [info] [1775823826522_243302][ResolvePipeline] Starting pipeline execution

2026-04-10T20:23:46.534+08:00 [info] [1775823826522_243302][ResolvePipeline] Executing step 1/6: establish_ssh_connection

2026-04-10T20:23:46.534+08:00 [info] [1775823826522_243302][establish_ssh_connection] :rocket: Step started: Establish SSH Connection

2026-04-10T20:23:46.535+08:00 [info] [1775823826522_243302][EstablishSSHStep] Starting SSH connection establishment

2026-04-10T20:23:47.406+08:00 [info] [1775823826522_243302][SSH] Connecting to ssh.sd5ai.scnet.cn

2026-04-10T20:23:47.425+08:00 [info] [1775823826522_243302][SSH] Full SSH command: C:\windows\System32\OpenSSH\ssh.exe -v -T -D 12818 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -o RemoteCommand=bash -l -c “exec bash --login” ssh.sd5ai.scnet.cn

2026-04-10T20:23:47.425+08:00 [info] [1775823826522_243302][SSH] Starting connection

2026-04-10T20:23:47.425+08:00 [info] [1775823826522_243302][SSH AskPass] Pipe listening: \\?\pipe\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823827425-ec0e2455

2026-04-10T20:23:47.426+08:00 [info] [1775823826522_243302][SSH AskPass] askpass script: d:\Trae CN\resources\app\extensions\cloudide.icube-remote-ssh\out\askpass-main.js

2026-04-10T20:23:47.436+08:00 [info] [1775823826522_243302][SSH] AskPass environment variables set: {“SSH_ASKPASS”:“C:\\Users\\26075\\AppData\\Local\\Temp\\trae-ssh-askpass-bpsnmgk5\\askpass.cmd”,“SSH_ASKPASS_REQUIRE”:“force”,“DISPLAY”:“0”,“VSCODE_SSH_ASKPASS_NODE”:“D:\\Trae CN\\Trae CN.exe”,“VSCODE_SSH_ASKPASS_MAIN”:“d:\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“\\\\?\\pipe\\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823827425-ec0e2455”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”}

2026-04-10T20:23:47.436+08:00 [info] [1775823826522_243302][SSH] Local server process started with PID: 2272, server details: {“serverId":"undefined@ssh.sd5ai.scnet.cn”,“sshCommand”:“C:\\windows\\System32\\OpenSSH\\ssh.exe”,“sshArgs”:[“-v”,“-T”,“-D”,“12818”,“-o”,“StrictHostKeyChecking=no”,“-o”,“UserKnownHostsFile=/dev/null”,“-o”,“ServerAliveInterval=10”,“-o”,“ServerAliveCountMax=3”,“-o”,“RemoteCommand=bash -l -c \“exec bash --login\””,“ssh.sd5ai.scnet.cn”],“ipcHandlePath”:“\\\\?\\pipe\\icube-ssh-undefined@ssh.sd5ai.scnet.cn-1775823827424-86993b6a”,“serverDataFolderName”:“.trae-cn-server”,“dataFilePath”:“C:\\Users\\26075\\AppData\\Local\\Temp\\vscode-ssh-undefined@ssh.sd5ai.scnet.cn-2472-6rdad9uu.json”}

2026-04-10T20:23:47.437+08:00 [info] [1775823826522_243302][SSH] State transition: initializing → waiting_for_server: {“reason”:“started waiting for server”,“duration”:0,“newStateTimeout”:540000}

2026-04-10T20:23:47.702+08:00 [info] [1775823826522_243302][SSH] SSH debug info: {“level”:“debug1”,“message”:“Connection established.”,“category”:“connection”}

2026-04-10T20:23:48.453+08:00 [info] [1775823826522_243302][SSH] localServerProcess is ready, executing remote script

2026-04-10T20:23:48.453+08:00 [info] [1775823826522_243302][SSH] State transition: waiting_for_server → establishing: {“reason”:“local server ready”,“duration”:1016,“newStateTimeout”:60000}

2026-04-10T20:23:48.453+08:00 [info] [1775823826522_243302][SSH] Executing remote validation script in ESTABLISHING state

2026-04-10T20:24:48.461+08:00 [error] [1775823826522_243302][SSH] SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms

2026-04-10T20:24:48.461+08:00 [info] [1775823826522_243302][SSH] State timeout: {“state”:“establishing”,“timeout”:60000}

2026-04-10T20:24:48.462+08:00 [info] [1775823826522_243302][SSH] State transition: establishing → failed: {“reason”:“timeout in establishing”,“duration”:60007,“newStateTimeout”:0}

2026-04-10T20:24:48.462+08:00 [warning] [1775823826522_243302][SSH:connection] d: SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms {

code: ‘SSH_OPERATION_TIMEOUT’,

category: ‘operation’,

severity: ‘medium’,

recoverable: true,

recoveryStrategy: ‘retry’

}

2026-04-10T20:24:48.462+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to retry after SSH_OPERATION_TIMEOUT

2026-04-10T20:24:48.465+08:00 [info] [1775823826522_243302][SSH] Cleaning up resources

2026-04-10T20:24:48.465+08:00 [error] [1775823826522_243302][SSH] Connection failed during wait: Connection failed: timeout in establishing

2026-04-10T20:24:48.465+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:24:48.466+08:00 [error] [1775823826522_243302][SSH:connect] l: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing (caused by: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing) {

code: ‘SSH_CONNECTION_FAILED’,

category: ‘connection’,

severity: ‘high’,

recoverable: true,

recoveryStrategy: ‘reconnect’

}

2026-04-10T20:24:48.466+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to reconnect after SSH_CONNECTION_FAILED

2026-04-10T20:24:48.466+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:24:48.467+08:00 [info] [1775823826522_243302][EstablishSSHStep] Connection failed, retrying with enhancedCompatibilityMode=true

2026-04-10T20:24:48.468+08:00 [info] [1775823826522_243302][SSH] Connecting to ssh.sd5ai.scnet.cn

2026-04-10T20:24:48.468+08:00 [info] [1775823826522_243302][SSH] Full SSH command: C:\windows\System32\OpenSSH\ssh.exe -v -T -D 12818 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -o ServerAliveCountMax=3 ssh.sd5ai.scnet.cn

2026-04-10T20:24:48.468+08:00 [info] [1775823826522_243302][SSH] Starting connection

2026-04-10T20:24:48.469+08:00 [info] [1775823826522_243302][SSH AskPass] Pipe listening: \\?\pipe\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823888468-c0e18c3e

2026-04-10T20:24:48.469+08:00 [info] [1775823826522_243302][SSH AskPass] askpass script: d:\Trae CN\resources\app\extensions\cloudide.icube-remote-ssh\out\askpass-main.js

2026-04-10T20:24:48.479+08:00 [info] [1775823826522_243302][SSH] AskPass environment variables set: {“SSH_ASKPASS”:“C:\\Users\\26075\\AppData\\Local\\Temp\\trae-ssh-askpass-jbr5yejq\\askpass.cmd”,“SSH_ASKPASS_REQUIRE”:“force”,“DISPLAY”:“0”,“VSCODE_SSH_ASKPASS_NODE”:“D:\\Trae CN\\Trae CN.exe”,“VSCODE_SSH_ASKPASS_MAIN”:“d:\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“\\\\?\\pipe\\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823888468-c0e18c3e”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”}

2026-04-10T20:24:48.479+08:00 [info] [1775823826522_243302][SSH] Local server process started with PID: 22724, server details: {“serverId":"undefined@ssh.sd5ai.scnet.cn”,“sshCommand”:“C:\\windows\\System32\\OpenSSH\\ssh.exe”,“sshArgs”:[“-v”,“-T”,“-D”,“12818”,“-o”,“StrictHostKeyChecking=no”,“-o”,“UserKnownHostsFile=/dev/null”,“-o”,“ServerAliveInterval=10”,“-o”,“ServerAliveCountMax=3”,“ssh.sd5ai.scnet.cn”],“ipcHandlePath”:“\\\\?\\pipe\\icube-ssh-undefined@ssh.sd5ai.scnet.cn-1775823888468-af9135a8”,“serverDataFolderName”:“.trae-cn-server”,“dataFilePath”:“C:\\Users\\26075\\AppData\\Local\\Temp\\vscode-ssh-undefined@ssh.sd5ai.scnet.cn-2472-3xeddqgh.json”}

2026-04-10T20:24:48.479+08:00 [info] [1775823826522_243302][SSH] State transition: initializing → waiting_for_server: {“reason”:“started waiting for server”,“duration”:0,“newStateTimeout”:540000}

2026-04-10T20:24:48.489+08:00 [error] [1775823826522_243302][SSH] process exit: code=null, signal=SIGTERM

2026-04-10T20:24:48.489+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:24:48.708+08:00 [info] [1775823826522_243302][SSH] SSH debug info: {“level”:“debug1”,“message”:“Connection established.”,“category”:“connection”}

2026-04-10T20:24:49.491+08:00 [info] [1775823826522_243302][SSH] localServerProcess is ready, executing remote script

2026-04-10T20:24:49.491+08:00 [info] [1775823826522_243302][SSH] State transition: waiting_for_server → establishing: {“reason”:“local server ready”,“duration”:1011,“newStateTimeout”:60000}

2026-04-10T20:24:49.491+08:00 [info] [1775823826522_243302][SSH] Executing remote validation script in ESTABLISHING state

2026-04-10T20:25:49.503+08:00 [error] [1775823826522_243302][SSH] SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms

2026-04-10T20:25:49.503+08:00 [info] [1775823826522_243302][SSH] State timeout: {“state”:“establishing”,“timeout”:60000}

2026-04-10T20:25:49.504+08:00 [info] [1775823826522_243302][SSH] State transition: establishing → failed: {“reason”:“timeout in establishing”,“duration”:60011,“newStateTimeout”:0}

2026-04-10T20:25:49.505+08:00 [warning] [1775823826522_243302][SSH:connection] d: SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms {

code: ‘SSH_OPERATION_TIMEOUT’,

category: ‘operation’,

severity: ‘medium’,

recoverable: true,

recoveryStrategy: ‘retry’

}

2026-04-10T20:25:49.505+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to retry after SSH_OPERATION_TIMEOUT

2026-04-10T20:25:49.507+08:00 [info] [1775823826522_243302][SSH] Cleaning up resources

2026-04-10T20:25:49.507+08:00 [error] [1775823826522_243302][SSH] Connection failed during wait: Connection failed: timeout in establishing

2026-04-10T20:25:49.507+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:25:49.507+08:00 [error] [1775823826522_243302][SSH:connect] l: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing (caused by: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing) {

code: ‘SSH_CONNECTION_FAILED’,

category: ‘connection’,

severity: ‘high’,

recoverable: true,

recoveryStrategy: ‘reconnect’

}

2026-04-10T20:25:49.508+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to reconnect after SSH_CONNECTION_FAILED

2026-04-10T20:25:49.508+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:25:49.508+08:00 [error] [1775823826522_243302][EstablishSSHStep] SSH connection failed: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing SSH_CONNECTION_FAILED

2026-04-10T20:25:49.508+08:00 [warning] [1775823826522_243302][establish_ssh_connection] :warning: Step failed after 122975ms (retry available)

2026-04-10T20:25:49.508+08:00 [info] [1775823826522_243302][ResolvePipeline] Step ‘establish_ssh_connection’ failed in 122975ms

2026-04-10T20:25:49.509+08:00 [info] [1775823826522_243302][ResolvePipeline] Retrying step ‘establish_ssh_connection’

2026-04-10T20:25:49.509+08:00 [info] [1775823826522_243302][ResolvePipeline] Executing step 1/6: establish_ssh_connection

2026-04-10T20:25:49.509+08:00 [info] [1775823826522_243302][establish_ssh_connection] :rocket: Step started: Establish SSH Connection

2026-04-10T20:25:49.510+08:00 [info] [1775823826522_243302][EstablishSSHStep] Starting SSH connection establishment

2026-04-10T20:25:49.510+08:00 [info] [1775823826522_243302][SSH] Connecting to ssh.sd5ai.scnet.cn

2026-04-10T20:25:49.510+08:00 [info] [1775823826522_243302][SSH] Full SSH command: C:\windows\System32\OpenSSH\ssh.exe -v -T -D 12818 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -o ServerAliveCountMax=3 ssh.sd5ai.scnet.cn

2026-04-10T20:25:49.510+08:00 [info] [1775823826522_243302][SSH] Starting connection

2026-04-10T20:25:49.512+08:00 [info] [1775823826522_243302][SSH AskPass] Pipe listening: \\?\pipe\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823949512-ef2f1a1f

2026-04-10T20:25:49.513+08:00 [info] [1775823826522_243302][SSH AskPass] askpass script: d:\Trae CN\resources\app\extensions\cloudide.icube-remote-ssh\out\askpass-main.js

2026-04-10T20:25:49.524+08:00 [info] [1775823826522_243302][SSH] AskPass environment variables set: {“SSH_ASKPASS”:“C:\\Users\\26075\\AppData\\Local\\Temp\\trae-ssh-askpass-34inse9b\\askpass.cmd”,“SSH_ASKPASS_REQUIRE”:“force”,“DISPLAY”:“0”,“VSCODE_SSH_ASKPASS_NODE”:“D:\\Trae CN\\Trae CN.exe”,“VSCODE_SSH_ASKPASS_MAIN”:“d:\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“\\\\?\\pipe\\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775823949512-ef2f1a1f”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”}

2026-04-10T20:25:49.524+08:00 [info] [1775823826522_243302][SSH] Local server process started with PID: 9484, server details: {“serverId":"undefined@ssh.sd5ai.scnet.cn”,“sshCommand”:“C:\\windows\\System32\\OpenSSH\\ssh.exe”,“sshArgs”:[“-v”,“-T”,“-D”,“12818”,“-o”,“StrictHostKeyChecking=no”,“-o”,“UserKnownHostsFile=/dev/null”,“-o”,“ServerAliveInterval=10”,“-o”,“ServerAliveCountMax=3”,“ssh.sd5ai.scnet.cn”],“ipcHandlePath”:“\\\\?\\pipe\\icube-ssh-undefined@ssh.sd5ai.scnet.cn-1775823949510-37ce9049”,“serverDataFolderName”:“.trae-cn-server”,“dataFilePath”:“C:\\Users\\26075\\AppData\\Local\\Temp\\vscode-ssh-undefined@ssh.sd5ai.scnet.cn-2472-1aiwbtov.json”}

2026-04-10T20:25:49.524+08:00 [info] [1775823826522_243302][SSH] State transition: initializing → waiting_for_server: {“reason”:“started waiting for server”,“duration”:0,“newStateTimeout”:540000}

2026-04-10T20:25:49.547+08:00 [error] [1775823826522_243302][SSH] process exit: code=null, signal=SIGTERM

2026-04-10T20:25:49.547+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:25:49.693+08:00 [info] [1775823826522_243302][SSH] SSH debug info: {“level”:“debug1”,“message”:“Connection established.”,“category”:“connection”}

2026-04-10T20:25:50.531+08:00 [info] [1775823826522_243302][SSH] localServerProcess is ready, executing remote script

2026-04-10T20:25:50.531+08:00 [info] [1775823826522_243302][SSH] State transition: waiting_for_server → establishing: {“reason”:“local server ready”,“duration”:1008,“newStateTimeout”:60000}

2026-04-10T20:25:50.531+08:00 [info] [1775823826522_243302][SSH] Executing remote validation script in ESTABLISHING state

2026-04-10T20:26:50.533+08:00 [error] [1775823826522_243302][SSH] SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms

2026-04-10T20:26:50.533+08:00 [info] [1775823826522_243302][SSH] State timeout: {“state”:“establishing”,“timeout”:60000}

2026-04-10T20:26:50.533+08:00 [info] [1775823826522_243302][SSH] State transition: establishing → failed: {“reason”:“timeout in establishing”,“duration”:60002,“newStateTimeout”:0}

2026-04-10T20:26:50.534+08:00 [warning] [1775823826522_243302][SSH:connection] d: SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms {

code: ‘SSH_OPERATION_TIMEOUT’,

category: ‘operation’,

severity: ‘medium’,

recoverable: true,

recoveryStrategy: ‘retry’

}

2026-04-10T20:26:50.534+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to retry after SSH_OPERATION_TIMEOUT

2026-04-10T20:26:50.536+08:00 [info] [1775823826522_243302][SSH] Cleaning up resources

2026-04-10T20:26:50.536+08:00 [error] [1775823826522_243302][SSH] Connection failed during wait: Connection failed: timeout in establishing

2026-04-10T20:26:50.536+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:26:50.536+08:00 [error] [1775823826522_243302][SSH:connect] l: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing (caused by: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing) {

code: ‘SSH_CONNECTION_FAILED’,

category: ‘connection’,

severity: ‘high’,

recoverable: true,

recoveryStrategy: ‘reconnect’

}

2026-04-10T20:26:50.537+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to reconnect after SSH_CONNECTION_FAILED

2026-04-10T20:26:50.537+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:26:50.537+08:00 [error] [1775823826522_243302][EstablishSSHStep] SSH connection failed: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing SSH_CONNECTION_FAILED

2026-04-10T20:26:50.537+08:00 [warning] [1775823826522_243302][establish_ssh_connection] :warning: Step failed after 61029ms (retry available)

2026-04-10T20:26:50.538+08:00 [info] [1775823826522_243302][ResolvePipeline] Step ‘establish_ssh_connection’ failed in 61029ms

2026-04-10T20:26:50.538+08:00 [info] [1775823826522_243302][ResolvePipeline] Retrying step ‘establish_ssh_connection’

2026-04-10T20:26:50.538+08:00 [info] [1775823826522_243302][ResolvePipeline] Executing step 1/6: establish_ssh_connection

2026-04-10T20:26:50.538+08:00 [info] [1775823826522_243302][establish_ssh_connection] :rocket: Step started: Establish SSH Connection

2026-04-10T20:26:50.540+08:00 [info] [1775823826522_243302][EstablishSSHStep] Starting SSH connection establishment

2026-04-10T20:26:50.540+08:00 [info] [1775823826522_243302][SSH] Connecting to ssh.sd5ai.scnet.cn

2026-04-10T20:26:50.540+08:00 [info] [1775823826522_243302][SSH] Full SSH command: C:\windows\System32\OpenSSH\ssh.exe -v -T -D 12818 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -o ServerAliveCountMax=3 ssh.sd5ai.scnet.cn

2026-04-10T20:26:50.540+08:00 [info] [1775823826522_243302][SSH] Starting connection

2026-04-10T20:26:50.542+08:00 [info] [1775823826522_243302][SSH AskPass] Pipe listening: \\?\pipe\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775824010541-d53153e8

2026-04-10T20:26:50.542+08:00 [info] [1775823826522_243302][SSH AskPass] askpass script: d:\Trae CN\resources\app\extensions\cloudide.icube-remote-ssh\out\askpass-main.js

2026-04-10T20:26:50.553+08:00 [info] [1775823826522_243302][SSH] AskPass environment variables set: {“SSH_ASKPASS”:“C:\\Users\\26075\\AppData\\Local\\Temp\\trae-ssh-askpass-y7y6tq7j\\askpass.cmd”,“SSH_ASKPASS_REQUIRE”:“force”,“DISPLAY”:“0”,“VSCODE_SSH_ASKPASS_NODE”:“D:\\Trae CN\\Trae CN.exe”,“VSCODE_SSH_ASKPASS_MAIN”:“d:\\Trae CN\\resources\\app\\extensions\\cloudide.icube-remote-ssh\\out\\askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“\\\\?\\pipe\\icube-askpass-undefined@ssh.sd5ai.scnet.cn-1775824010541-d53153e8”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”}

2026-04-10T20:26:50.553+08:00 [info] [1775823826522_243302][SSH] Local server process started with PID: 21516, server details: {“serverId":"undefined@ssh.sd5ai.scnet.cn”,“sshCommand”:“C:\\windows\\System32\\OpenSSH\\ssh.exe”,“sshArgs”:[“-v”,“-T”,“-D”,“12818”,“-o”,“StrictHostKeyChecking=no”,“-o”,“UserKnownHostsFile=/dev/null”,“-o”,“ServerAliveInterval=10”,“-o”,“ServerAliveCountMax=3”,“ssh.sd5ai.scnet.cn”],“ipcHandlePath”:“\\\\?\\pipe\\icube-ssh-undefined@ssh.sd5ai.scnet.cn-1775824010540-1631a3c3”,“serverDataFolderName”:“.trae-cn-server”,“dataFilePath”:“C:\\Users\\26075\\AppData\\Local\\Temp\\vscode-ssh-undefined@ssh.sd5ai.scnet.cn-2472-uq5y2fb9.json”}

2026-04-10T20:26:50.553+08:00 [info] [1775823826522_243302][SSH] State transition: initializing → waiting_for_server: {“reason”:“started waiting for server”,“duration”:0,“newStateTimeout”:540000}

2026-04-10T20:26:50.582+08:00 [error] [1775823826522_243302][SSH] process exit: code=null, signal=SIGTERM

2026-04-10T20:26:50.582+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:26:50.779+08:00 [info] [1775823826522_243302][SSH] SSH debug info: {“level”:“debug1”,“message”:“Connection established.”,“category”:“connection”}

2026-04-10T20:26:51.560+08:00 [info] [1775823826522_243302][SSH] localServerProcess is ready, executing remote script

2026-04-10T20:26:51.560+08:00 [info] [1775823826522_243302][SSH] State transition: waiting_for_server → establishing: {“reason”:“local server ready”,“duration”:1008,“newStateTimeout”:60000}

2026-04-10T20:26:51.560+08:00 [info] [1775823826522_243302][SSH] Executing remote validation script in ESTABLISHING state

2026-04-10T20:27:51.570+08:00 [error] [1775823826522_243302][SSH] SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms

2026-04-10T20:27:51.571+08:00 [info] [1775823826522_243302][SSH] State timeout: {“state”:“establishing”,“timeout”:60000}

2026-04-10T20:27:51.571+08:00 [info] [1775823826522_243302][SSH] State transition: establishing → failed: {“reason”:“timeout in establishing”,“duration”:60007,“newStateTimeout”:0}

2026-04-10T20:27:51.572+08:00 [warning] [1775823826522_243302][SSH:connection] d: SSH connection timeout in state: establishing (建立和验证SSH连接) after 60000ms {

code: ‘SSH_OPERATION_TIMEOUT’,

category: ‘operation’,

severity: ‘medium’,

recoverable: true,

recoveryStrategy: ‘retry’

}

2026-04-10T20:27:51.573+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to retry after SSH_OPERATION_TIMEOUT

2026-04-10T20:27:51.579+08:00 [info] [1775823826522_243302][SSH] Cleaning up resources

2026-04-10T20:27:51.580+08:00 [error] [1775823826522_243302][SSH] Connection failed during wait: Connection failed: timeout in establishing

2026-04-10T20:27:51.581+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:27:51.583+08:00 [error] [1775823826522_243302][SSH:connect] l: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing (caused by: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing) {

code: ‘SSH_CONNECTION_FAILED’,

category: ‘connection’,

severity: ‘high’,

recoverable: true,

recoveryStrategy: ‘reconnect’

}

2026-04-10T20:27:51.583+08:00 [info] [1775823826522_243302][SSH:Recovery] Attempting to reconnect after SSH_CONNECTION_FAILED

2026-04-10T20:27:51.585+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

2026-04-10T20:27:51.594+08:00 [error] [1775823826522_243302][EstablishSSHStep] SSH connection failed: SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing SSH_CONNECTION_FAILED

2026-04-10T20:27:51.595+08:00 [warning] [1775823826522_243302][establish_ssh_connection] :warning: Step failed after 61056ms (no retry)

2026-04-10T20:27:51.597+08:00 [info] [1775823826522_243302][ResolvePipeline] Step ‘establish_ssh_connection’ failed in 61058ms

2026-04-10T20:27:51.601+08:00 [error] [1775823826522_243302][ResolvePipeline] Pipeline execution failed: SSH_CONNECTION_FAILED SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing

2026-04-10T20:27:51.601+08:00 [info] [1775823826522_243302][ResolvePipeline] Cleaning up pipeline resources

2026-04-10T20:27:51.607+08:00 [error] [1775823826522_243302]Error resolving authority: SSH_CONNECTION_FAILED SSH connection failed(ssh.sd5ai.scnet.cn): Connection failed: timeout in establishing

2026-04-10T20:27:51.630+08:00 [error] [1775823826522_243302][SSH] process exit: code=null, signal=SIGTERM

2026-04-10T20:27:51.630+08:00 [info] [1775823826522_243302][SSH] Resources already cleaned up, skipping

1 个赞

转到帮助了

1 个赞

您好,看日志连接多次重试仍超时,优先排查网络和服务器状态,日志显示TRAE SSH插件执行流程正常。

1 个赞

你们的 fetch 操作,为啥禁用了断点续传??网络不好就让一直重试下载啊,有毒。 `./fetch/fetch download -c 20 --no-resume -r 1 --chunk-retries 3 --chunk-size 2M --config-file “$SERVER_DIR/../fetch.config.json” “$url” -o “$output”`。 脑袋有坑的产品设计,默认自动升级后浪费老-子N个小时时间折腾

1 个赞