You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing issues connecting to a remote server (spirit.cin.ucsf.edu) via SSH in VS Code on Windows, using WSL as my primary environment. I am able to connect to the server without any problems through the WSL terminal directly, but when I attempt the connection through VS Code's Remote SSH extension, it fails with the following error:
The terminal process "C:\Windows\System32\cmd.exe /c (type "C:\Users\bellj\AppData\Local\Temp\vscode-linux-multi-line-command-spirit.cin.ucsf.edu-850316979.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61353 -F "/home/jackkrolik/.ssh/config" "spirit.cin.ucsf.edu" sh) & exit /b 0" terminated with exit code: 1.
Additionally, I receive extensive logs, including multiple errors about SSH binaries and configuration paths. Here is a portion of the log with key details:
[13:49:31.154] "remote.SSH.path": C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh
[13:49:31.165] Setting up SSH remote "spirit.cin.ucsf.edu"
[13:49:32.329] Checking ssh with "C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh -V"
[13:49:32.331] Got error from ssh: spawn C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh ENOENT
[13:49:32.332] The specified path C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh is not a valid SSH binary
Environment:
VS Code Version: 1.95.0
Remote-SSH Extension Version: 0.115.0
Operating System: Windows with WSL (Windows Subsystem for Linux)
WSL Distro: Ubuntu (using WSL as the terminal in VS Code)
Steps Taken:
Verified that SSH works directly in WSL.
Configured the SSH settings in VS Code's settings.json.
Attempted using both "remote.SSH.path": "wsl" and "remote.SSH.path": "C:\Windows\System32\OpenSSH\ssh.exe".
Ensured correct permissions for id_ed25519 and config files in .ssh directory.
Expected Outcome: To establish a stable SSH connection to the remote server (spirit.cin.ucsf.edu) within VS Code using WSL, as I can do directly through the WSL terminal.
Extension version: 0.115.0
VS Code version: Code 1.95.0 (912bb683695358a54ae0c670461738984cbb5b95, 2024-10-28T20:16:24.561Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
I am experiencing issues connecting to a remote server (spirit.cin.ucsf.edu) via SSH in VS Code on Windows, using WSL as my primary environment. I am able to connect to the server without any problems through the WSL terminal directly, but when I attempt the connection through VS Code's Remote SSH extension, it fails with the following error:
The terminal process "C:\Windows\System32\cmd.exe /c (type "C:\Users\bellj\AppData\Local\Temp\vscode-linux-multi-line-command-spirit.cin.ucsf.edu-850316979.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61353 -F "/home/jackkrolik/.ssh/config" "spirit.cin.ucsf.edu" sh) & exit /b 0" terminated with exit code: 1.
Additionally, I receive extensive logs, including multiple errors about SSH binaries and configuration paths. Here is a portion of the log with key details:
[13:49:31.154] "remote.SSH.path": C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh
[13:49:31.165] Setting up SSH remote "spirit.cin.ucsf.edu"
[13:49:32.329] Checking ssh with "C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh -V"
[13:49:32.331] Got error from ssh: spawn C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh ENOENT
[13:49:32.332] The specified path C:\Windows\System32\wsl.exe -e /home/jackkrolik/bin/ssh-wrapper.sh is not a valid SSH binary
Environment:
VS Code Version: 1.95.0
Remote-SSH Extension Version: 0.115.0
Operating System: Windows with WSL (Windows Subsystem for Linux)
WSL Distro: Ubuntu (using WSL as the terminal in VS Code)
Steps Taken:
Verified that SSH works directly in WSL.
Configured the SSH settings in VS Code's settings.json.
Attempted using both "remote.SSH.path": "wsl" and "remote.SSH.path": "C:\Windows\System32\OpenSSH\ssh.exe".
Ensured correct permissions for id_ed25519 and config files in .ssh directory.
Expected Outcome: To establish a stable SSH connection to the remote server (spirit.cin.ucsf.edu) within VS Code using WSL, as I can do directly through the WSL terminal.
Extension version: 0.115.0
VS Code version: Code 1.95.0 (912bb683695358a54ae0c670461738984cbb5b95, 2024-10-28T20:16:24.561Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: enabled_on
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: