Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote-ssh install failed #10709

Open
6 tasks done
bingyu9875 opened this issue Feb 15, 2025 · 0 comments
Open
6 tasks done

remote-ssh install failed #10709

bingyu9875 opened this issue Feb 15, 2025 · 0 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@bingyu9875
Copy link

Is there an existing issue for this bug?

  • I have searched the existing open issues and found none that apply.
  • If I find any issue of interest that is related or closed, I will included a link to it in this issue.

Required Troubleshooting Steps

  • I have read and performed the troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting
  • My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar

[Optional] Diagnose with Copilot

I asked @remote-ssh but it did not help

In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?

I COULD successfully SSH to the remote machine with the generated SSH command

Remote-SSH Log

2025-02-15 18:43:37.094 [error] [Window] Error: EPERM: operation not permitted, rename 'c:\Users\dell.vscode\extensions.b02a6eca-5288-43d7-a787-b416ee4c6858' -> 'c:\Users\dell.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.0'
at async Object.rename (node:internal/original-fs/promises:784:10)
at async Qd (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:30:9367)
at async Object.a4 (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:30:9117)
at async dh.G (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:71809)
at async dh.extractUserExtension (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:68915)
at async fh.tb (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:62622)
2025-02-15 18:43:37.144 [error] [Window] EPERM: operation not permitted, rename 'c:\Users\dell.vscode\extensions.b02a6eca-5288-43d7-a787-b416ee4c6858' -> 'c:\Users\dell.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.0': Error: EPERM: operation not permitted, rename 'c:\Users\dell.vscode\extensions.b02a6eca-5288-43d7-a787-b416ee4c6858' -> 'c:\Users\dell.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.0'
at async Object.rename (node:internal/original-fs/promises:784:10)

at async Qd (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:30:9367)
at async Object.a4 (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:30:9117)
at async dh.G (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:71809)
at async dh.extractUserExtension (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:68915)
at async fh.tb (file:///d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:62622)

Expected Behavior

windows version: win10

code version:
Version: 1.96.4 (system setup)
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

do test:

  1. I have check the permit, it's OK;
  2. I have tried to delete c:\Users\dell.vscode\extensions folder, and install again, but failed.
  3. I have tried all method, but it's failed.(include reinstall the vscode, different vscode version, ets)
  4. install the remote-ssh manually, it's failed

Actual Behavior

do test:

  1. I have check the permit, it's OK;
  2. I have tried to delete c:\Users\dell.vscode\extensions folder, and install again, but failed.
  3. I have tried all method, but it's failed.(include reinstall the vscode, different vscode version, ets)
  4. install the remote-ssh manually, it's failed

Steps To Reproduce

do test:

  1. I have check the permit, it's OK;
  2. I have tried to delete c:\Users\dell.vscode\extensions folder, and install again, but failed.
  3. I have tried all method, but it's failed.(include reinstall the vscode, different vscode version, ets)
  4. install the remote-ssh manually, it's failed

Anything else?

No response

@bingyu9875 bingyu9875 added the ssh Issue in vscode-remote SSH label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants