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

SSH plugin can't connect to windows server using a unix like shell #9367

Closed
Febbe opened this issue Jan 6, 2024 · 7 comments
Closed

SSH plugin can't connect to windows server using a unix like shell #9367

Febbe opened this issue Jan 6, 2024 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH

Comments

@Febbe
Copy link

Febbe commented Jan 6, 2024

Type: Bug

  1. Install MSYS2
  2. Follow https://www.msys2.org/wiki/Setting-up-SSHd/ to setup a msys shell as ssh shell
  3. Try to connect to it via vscode (e.g localhost)
  4. Choose Windows

=> Infinite loop

Extension version: 0.107.1
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Windows_NT x64 10.0.22621
MSYS2 env: MINGW64_NT-10.0-22621 /ucrt64

System Info
Item Value
CPUs AMD Ryzen 5 7600X 6-Core Processor (12 x 4691)
GPU Status 2d_canvas: enabled
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.12GB (20.27GB free)
Process Argv --crash-reporter-id 8e8ea078-e107-4558-8c6b-1428dbbf51f7
Screen Reader no
VM 0%
Item Value
Remote SSH: localhost
A/B Experiments
vsliv368:30146709
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vshan820:30294714
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
azure-dev_surveyone:30548225
89544117:30613380
2i9eh265:30646982
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30928863
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
dsvsc019cf:30917260
cp7184t3:30927821

@Febbe
Copy link
Author

Febbe commented Jan 6, 2024

Tried to connect to a msys2 ssh shell as workaround for: microsoft/vscode#184534 and microsoft/vscode-cmake-tools#2447

@github-actions github-actions bot added the ssh Issue in vscode-remote SSH label Jan 6, 2024
@joshspicer
Copy link
Member

I've never heard of msys2 before. If you're still looking for support here, could you share little bit about it? I'm not sure if it's something we can support with minimal effort, or if it's similar to supporting another operating system.

@joshspicer joshspicer added the info-needed Issue requires more information from poster label Dec 12, 2024
@Febbe
Copy link
Author

Febbe commented Dec 13, 2024

Hey Josh, you can read more about msys2 here: https://www.msys2.org/docs/what-is-msys2/. Basically, it's a combination of tools which provides a Unix-like environment on Windows. With its own shell, its own environment, with Unix like tools.
It is basically the way to go when you want to port/compile/natively run software which was originally written for Unix systems.

What I tried to do was to connect to a msys2 shell via the vscode-ssh-plugin, since the target project is a UNIX/MSYS2 project, with configuration files requiring Unix paths and applications. This resulted in the described loop. Supposedly due to the fact, that the MSYS shell requires UNIX paths and the ssh plugin assumes windows paths.

@joshspicer joshspicer added feature-request Request for new features or functionality and removed info-needed Issue requires more information from poster labels Dec 16, 2024
@joshspicer
Copy link
Member

Would you mind also including you log showing the infinite loop (there could be a workaround if we know where it's looping)

@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Dec 16, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Copy link

This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding

Copy link

🙁 In the last 60 days, this feature request has received less than 10 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants