写点什么

mark:vscode 无法远程访问连接

作者:糖米唐爹
  • 2022 年 5 月 19 日
  • 本文字数:774 字

    阅读完需:约 3 分钟

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


用户头像

糖米唐爹

关注

还未添加个人签名 2020.08.12 加入

还未添加个人简介

评论

发布
暂无评论
mark:vscode 无法远程访问连接_vscode_糖米唐爹_InfoQ写作社区