windows通过ssh连接ubuntu远程docker cotainer报错

报错内容:

Error running command remote-containers.attachToRunningContainerFromViewlet: Shell server terminated (code: 255, signal: null)  XSL   ʽ(  ) ļ     Ч    node:child_process:925     throw err;     ^  Error: Command failed: wmic process where (commandline like "%ssh-askpass.bat%") get processid,parentprocessid /format:"%WINDIR%\System32\wbem\en-us\csv" XSL   ʽ(  ) ļ     Ч          at checkExecSyncError (node:child_process:848:11)     at Object.execSync (node:child_process:922:15)     at Object.<anonymous> (node:electron/js2c/asar_bundle:5:12704)     at Object.<anonymous> (c:\Users\GW00322633\.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\common\sshAskpass.js:5:808)     at Module._compile (node:internal/modules/cjs/loader:1165:14)     at Module._extensions..js (node:internal/modules/cjs/loader:1220:10)     at Module.load (node:internal/modules/cjs/loader:1035:32)     at Module._load (node:internal/modules/cjs/loader:876:12)     at c._load (node:electron/js2c/asar_bundle:5:13343)     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {   status: 44210,   signal: null,   output: [     null,     Buffer(0) [Uint8Array] [],     Buffer(27) [Uint8Array] [        88,  83,  76,  32, 184, 241, 202,       189,  40, 187, 242,  41, 206, 196,       188, 254, 195, 251, 206, 222, 208,       167, 161, 163,  13,  13,  10     ]   ],   pid: 16340,   stdout: Buffer(0) [Uint8Array] [],   stderr: Buffer(27) [Uint8Array] [      88,  83,  76,  32, 184, 241, 202,     189,  40, 187, 242,  41, 206, 196,     188, 254, 195, 251, 206, 222, 208,     167, 161, 163,  13,  13,  10   ] } Permission denied, please try again. XSL   ʽ(  ) ļ     Ч    node:child_process:925     throw err;     ^  Error: Command failed: wmic process where (commandline like "%ssh-askpass.bat%") get processid,parentprocessid /format:"%WINDIR%\System32\wbem\en-us\csv" XSL   ʽ(  ) ļ     Ч          at checkExecSyncError (node:child_process:848:11)     at Object.execSync (node:child_process:922:15)     at Object.<anonymous> (node

解决方案:

Error while connecting docker container hosted on remote linux. · Issue #7507 · microsoft/vscode-remote-release · GitHub

2. vscode连不上ubuntu server 一直等待连不上

vscode ssh远程连接失败问题及解决_Charles Ren的博客-CSDN博客_vscode连不上远程服务器

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值