-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
ssh disconnections #192647
Comments
Same problem, fixed by switch "Remote - SSH" extension to Pre-Release Version. |
👍it works for me. |
I had a similar problem and the ssh connection would hang with the message
I was able to ssh successfully from my terminal, but not from VSCode. I rolled back the remote ssh extension to a few different versions, but eventually that worked. I first tried the prelease version, but that didn't work. I had to roll it back two versions before it worked. |
I would be grateful if you could grab the "Remote - SSH" log from the "Output" tab in the bottom panel of VS Code when you get into this broken state. Note that we've turned off the problematic functionality in stable for the moment, but it can be turned back on via the |
I have the same issue. Please find logs attached. |
@webjema your issue is the same as microsoft/vscode-remote-release#8942 (comment) which will be fixed when you update to the latest extension version (0.106.3) |
Hello @connor4312 I attempted to get the additional information you requested, but there is no output generated. Here is my environment:
Enabling the option "Remote.SSH:Use ExecServer" and then making a remote connection resulted in several loops of "Downloading VS Code..." and finally an error "Could not fetch remote environment". Here is a screenshot of what I observe. The Output tab is blank. |
Hi, you'll want to use the select box in the upper right side of the bottom panel and switch to "Remote - SSH". That should have the output. Thanks! |
Sorry about that. Attached are files from the ssh remote output and the error messages that appear on vscode console. sshremote.log |
Enabling |
Me too. Helped to fix reopening in the dev container command execution. |
THat is tracked in microsoft/vscode-remote-release#9064, release will be out shortly |
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! |
Type: Bug
Latest version was installed last night via snap. Now I cannot connect to any remote host via the Remote Development module. SSH connects successfully, according to sshd logs on the remote. But VScode disconnects from the remote. There are no error message on the remote sshd log that would indicate any reason for the disconnection.
This happens on all 3 remote hosts that I typically develop on. Before the snap update, these connections worked fine.
I needed to revert to the previous version to regain remote development:
VS Code version: Code 1.82.0 (8b617bd, 2023-09-06T22:07:18.759Z)
OS version: Linux x64 5.15.0-83-generic snap
Modes:
Connection to 'SSH: puppet.staging' could not be established Canceled
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Connection to 'SSH: puppet.staging' could not be established Canceled
The text was updated successfully, but these errors were encountered: