wsl2使用vscode ssh-remote无法写入文件permission denied解决方法

Permission denied, please try again. [10:38:32.370] > root@connect.yza1.seetacloud.com's password: [10:38:36.271] > [10:38:36.348] > Permission denied, please try again. [10:38:36.362] > root@connect.yza1.seetacloud.com's password: [10:38:38.942] > [10:38:39.067] > root@connect.yza1.seetacloud.com: Permission denied (publickey,password). [10:38:39.076] > 过程试图写入的管道不存在。 [10:38:40.370] "install" terminal command done [10:38:40.371] Install terminal quit with output: 过程试图写入的管道不存在。 [10:38:40.371] Received install output: 过程试图写入的管道不存在。 [10:38:40.371] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped. [10:38:40.371] Failed to parse remote port from server output [10:38:40.372] Resolver error: Error at y.Create (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:744751) at t.handleInstallOutput (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:742832) at t.tryInstall (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:865534) at async c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824246 at async t.withShowDetailsEvent (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:827501) at async A (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:820760) at async t.resolve (c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824898) at async c:\Users\asd\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:1113660 [10:38:40.376] ------ [10:38:40.377] No hints found in the recent session. [10:38:40.805] Opening exec server for ssh-remote+fcn [10:38:40.819] Initizing new exec server for ssh-remote+fcn [10:38:40.819] Using commit id "18e3a1ec544e6907be1e944a94c496e302073435" and quality "stable" for server [10:38:40.819] Extensions to install: [10:38:40.822] Install and start server if needed [10:40:09.321] getPlatformForHost was canceled [10:40:09.321] Exec server for ssh-remote+fcn failed: Error: 已取消连接 [10:40:09.322] Error opening exec server for ssh-remote+fcn: Error: 已取消连接 [10:40:09.322] No hints found in the recent session. [10:51:50.841] ConfigFileWatcher: start watching file:///c%3A/Users/asd/.ssh/config [10:51:50.841] ConfigFileWatcher: adding save listener [10:51:50.842] ConfigFileWatcher: adding close listener 如何解决,具体步骤
06-26
分析SSH连接时的报错:[10:12:43.397] Running script with connection command: "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50512 "10.170.27.158" sh [10:12:43.398] Generated SSH command: 'type "C:\Users\S50048~1\AppData\Local\Temp\vscode-linux-multi-line-command-10.170.27.158-29904959.sh" | "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50512 "10.170.27.158" sh' [10:12:43.399] Using connect timeout of 17 seconds [10:12:43.400] Terminal shell path: C:\windows\System32\cmd.exe [10:12:44.023] > Authorized users only. All activities may be monitored and reported. > root@10.170.27.158's password: [10:12:44.023] Got some output, clearing connection timeout [10:12:44.024] Showing password prompt [10:13:10.866] Got password response [10:13:10.866] "install" wrote data to terminal: "************" [10:13:10.930] > [10:13:14.084] > Permission denied, please try again. > root@10.170.27.158's password: [10:13:14.084] Showing password prompt [10:13:23.236] Got password response [10:13:23.236] "install" wrote data to terminal: "************" [10:13:23.276] > [10:13:24.896] > Permission denied, please try again. > root@10.170.27.158's password: [10:13:24.897] Showing password prompt [10:13:47.534] Got password response [10:13:47.534] "install" wrote data to terminal: "***********" [10:13:47.604] > > Connection closed by 10.170.27.158 port 22 > 过程试图写入的管道不存在。 [10:13:48.844] "install" terminal command done [10:13:48.844] Install terminal quit with output: 过程试图写入的管道不存在。 [10:13:48.844] Received install output: 过程试图写入的管道不存在。 [10:13:48.845] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped. [10:13:48.845] Failed to parse remote port from server output [10:13:48.845] Resolver error: Error at y.Create (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:744751) at t.handleInstallOutput (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:742832) at t.tryInstall (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:865534) at async c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824246 at async t.withShowDetailsEvent (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:827501) at async A (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:820760) at async t.resolve (c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824898) at async c:\Users\s50048740\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:1113660 [10:13:48.850] ------ [10:13:48.851] No hints found in the recent session
07-10
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

aping_cs_dn

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值