-
Notifications
You must be signed in to change notification settings - Fork 315
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 Bug]: VSCode failt to install code-server when i use “”Local Server Download" #10026
Comments
I have tried remote ssh with macOS silicon connecting to a raspberry pi. Same issue with login loop installing vscode server. Workaround for now: |
@roblourens Do you have any suggestions for this issue? |
Where are you seeing a colon in the file name? |
VSCode first downloads vscode-server to my C drive, and then when executing the scp command, it uses my directory as the server's name for the transfer (e.g., C:\Users\xhosa.liu\AppData\Local\Temp\vscode_server_1720084729396\vscode-cli-ea1445cc7016315d0f5728f8e8). The C drive contains colon. And when I enter the ~/.vscode-server/bin directory, I can see that the filename of the scp includes a colon. |
|
@roblourens Do you have any suggestions for this issue? |
@connor4312 I think you changed something with the scp path? |
This should be fixed in the latest version of Remote - SSH. Does this happen on Remote - SSH version v0.113.1 or higher? |
Yes, v0.113.1 fixed this bug. thanks |
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
No response
Expected Behavior
When I use "Local Server Download", VSCode scps the file c:\Users\xhosa.liu\AppData\Local\Temp\vscode_server_1720084729396\vscode-cli-ea1445cc7016315d0f5728f8e8 to ~/.vscode-server on my server. However, during extraction with tar, tar interprets colons (:) in file names as meaning it is a file on another machine, so the extraction fails. Can you add --force-local to the extraction command, or is there any other solution?
Steps To Reproduce
connect ssh with "Local Server Download"
Remote-SSH Log
Remote-SSH Log
Anything else?
i run tar in my local terminal :
tar (child): Cannot connect to c: resolve failed
gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now
The text was updated successfully, but these errors were encountered: