-
Notifications
You must be signed in to change notification settings - Fork 885
Coder CLI on Windows: SSH ProxyCommand does not include quotes #7639
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
Comments
@bpmct if you manually toss quotes around the exe path does it work? I'll add an exception for this right away. |
yeah, it works if i manually add the quotes. |
There has been a deep dive here already: Lines 703 to 729 in eee4f83
So simply adding quotes might not be a complete solution. |
Talked with @mafredri about this. Simply quoting the strings is not a complete solution. The issue is that the git bash is being "unix compatabile", but So I am going to add a flag + env var that allows forcing to use the forward slash. So people in this situation can run something like This is an unfortunate fix. But any solution aimed at fixing this could break the windows Command prompt. So this is the stop gap. |
Not great, but this can now be done on windows:
Setting an env var in your profile would make this permanent |
It seems like when I manually download
coder.exe
and add to PATH, the ProxyCommand does not include quotes which results in failed SSH connections in many cases, including when using git bash.From manual .exe download, added to path, and
coder config-ssh
in git bash:Result when I try to SSH:
From msi installer (this works):
The text was updated successfully, but these errors were encountered: