mark:vscode 无法远程访问连接
错误信息:
[16:56:48.980] Running script with connection command: ssh -T -D 58442 "172.25.20.15" bash
[16:56:48.982] Terminal shell path: C:\windows\System32\cmd.exe
[16:56:50.770] > 拒绝访问。
> ]0;C:\windows\System32\cmd.exe
[16:56:50.771] Got some output, clearing connection timeout
[16:56:52.471] "install" terminal command done
[16:56:52.472] Install terminal quit with output: ]0;C:\windows\System32\cmd.exe
[16:56:52.473] Received install output: ]0;C:\windows\System32\cmd.exe
[16:56:52.473] Failed to parse remote port from server output
[16:56:52.473] Resolver error: Error:
at Function.Create (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:585789)
at Object.t.handleInstallOutput (c:\Users\57366\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:584441)
at Object.t.tryInstall (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:681707)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async c:\Users\\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:644347
at async Object.t.withShowDetailsEvent (c:\Users\57366\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:647692)
at async Object.t.resolve (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:645426)
at async c:\Users\\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:722509
[16:56:52.476] ------
解决办法
以管理员身份运行 vscode
评论