Vscode-remote-release: Can't connect to remote servers via Remote SSH

Created on 15 Oct 2020  Â·  16Comments  Â·  Source: microsoft/vscode-remote-release

Issue Type: Bug

After the latest update 1.50.1 update I can not connect to our remote servers.
I enter my password and then a few seconds later it wants my password again. Does not connect.

Extension version: 0.55.0
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T14:53:05.704Z)
OS version: Darwin x64 19.6.0


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|16.00GB (0.47GB free)|
|Process Argv|--crash-reporter-id f702a929-f00f-4df2-b2e5-fd2a2d98cdd6|
|Screen Reader|no|
|VM|0%|


bug needs-more-info ssh

All 16 comments

Reverted back to version 1.49 and remote ssh works again.

I managed to get it working on 1.50.1 by disabling Remote.SSH: Remote Server Listen On Socket and running the command Kill VS Code Server on Host.

same here. cant connect with remote ssh development to my raspberry after 1.50.1 update.

I encountered the same problem, this is my solution:
Remove all the log files in the folder ".vscode-server" on your remote server. Then run vscode client, connect to the remote server , it works again.

I encountered the same problem, this is my solution:
Remove all the log files in the folder ".vscode-server" on your remote server. Then run vscode client, connect to the remote server , it works again.

unfortunately it doesn't for me :(

Same issue here, running VS Code on Win10, connecting to remote Linux server.
This was working fine until the upgrade to 1.50, after which starting the remote VSCode server failed and extension repeatedly asked for password.

Solution suggested by @imxxw worked for me, I deleted all the .log files in the .vscode-server folder, AND also everything in the .vscode-server/data/logs/. After that remote connection worked.

Same issue. Win 10 to remote Ubuntu 20 server. Deleting the logs only did not work for me. I deleted the entire .vscode-server directory before VS Code would remote to the server. Then later in the day could not reconnect again and again deleting the directory allows me access.

Same issue. Win 10 to remote Ubuntu 20 server. Deleting the logs only did not work for me. I deleted the entire .vscode-server directory before VS Code would remote to the server. Then later in the day could not reconnect again and again deleting the directory allows me access.

this works. deleting all files in ".vscode-server" folder and after that making a connection attemt makes remote machine redownload the server files. this fixes the problem for me.

I cannot remove the vscode-server folder because it states that the device or resource is busy. This is now not working on 1.49 version or 1.50.1.
Any ideas?

I cannot remove the vscode-server folder because it states that the device or resource is busy. This is now not working on 1.49 version or 1.50.1.
Any ideas?

not the folder itself. try to remove all the things inside?

I cannot remove the vscode-server folder because it states that the device or resource is busy. This is now not working on 1.49 version or 1.50.1.
Any ideas?

not the folder itself. try to remove all the things inside?

I went into the .vscode-server/data/logs/ and there are 2 folders that will not delete because they are in use. Thanks for any help.

I cannot remove the vscode-server folder because it states that the device or resource is busy. This is now not working on 1.49 version or 1.50.1.
Any ideas?

not the folder itself. try to remove all the things inside?

I went into the .vscode-server/data/logs/ and there are 2 folders that will not delete because they are in use. Thanks for any help.

I now get an error: The VS Code Server failed to start.

both sides needs to be latest version?

23 Eki 2020 Cum 00:41 tarihinde Gina Wilson notifications@github.com ÅŸunu
yazdı:

I cannot remove the vscode-server folder because it states that the device
or resource is busy. This is now not working on 1.49 version or 1.50.1.
Any ideas?

not the folder itself. try to remove all the things inside?

I went into the .vscode-server/data/logs/ and there are 2 folders that
will not delete because they are in use. Thanks for any help.

I now get an error: The VS Code Server failed to start.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-remote-release/issues/3856#issuecomment-714778443,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGTQEIRY2A2WHR6DBS7YLCTSMCRJHANCNFSM4SSO6E3Q
.

Okay everyone, try this.
In the VS Code Command Palette, run "kill VS Code Server on Host". Once I did that, I was able to connect using 1.50.1 with no issues. Fingers crossed
Thank you @ulvido for your assistance!

Please try again and share the full log from the Remote-SSH output channel after running the "kill" command

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings