-
Notifications
You must be signed in to change notification settings - Fork 23
Older SSH client versions don't connect with VSCode/coder #73
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
We have a fix coming up for this! cc @Emyrk |
Thanks. |
You'll be able to override environment variable options inside of Coder now. cc @Emyrk |
I'm confused by this statement. Is the intent to make this line be configurable/optional? When I installed the vscode extension and manually removed that bit from the local minified js file, the extension worked as expected. When that line is injected into the ~/.ssh/config file on RH7, the whole ssh config file is invalid and ssh to any machine stopped working for me. |
@plytro yup! These can be configured via the Coder deployment: If you override that var to empty, it should be removed. |
Keep in mind connection tracking will break, so the number of active VS Code sessions detected by Coder won't be accurate, but that should be fine in some cases. |
Can the docs be clarified? I initially read those docs as you must provide all the ssh config options. I had to read the code to see that it was merged with the defaults and then read a bit more to understand I need to pass in an empty string to remove a key. |
I was just thinking about this, and we should just not use |
Any idea when this change may become available or should we use the version that allows us to set this server side. |
I looked into parsing the version string a bit which we can do, but we'd need to look into the SSH experience cross-platform a bit more to ensure that's reliable. Could you do Feel free to use the var that sets server-side, that works too! |
You can also add/remove ssh options on the extension itself: #74 |
The client side setting works for me as a user, however if we have dozens (I'd hope they're not all on such an old version of ssh) we'd ideally like everyone to just install the plugin and with minimal config on their end. The server side setting worked great for us.
|
Fixed in the attached PR @plytro. New version coming out shortly. |
Hi. I was testing out connecting to coder sessions through VSCode Desktop on Linux and just wanted to make an observation. On an Ubuntu 20.04 system, I was able to get my connection working. On a RedHat 7 system, SSH doesn't like the 'SetEnv' option.
On Ubuntu, the default ssh client is: OpenSSH_8.2p1
On RH7, it's OpenSSH_7.4p1
Any chance that this can be supported in older SSH clients? If not, maybe a warning in the readme about supported versions would be good.
The text was updated successfully, but these errors were encountered: