Non-recent versions of JetBrains editors don't support Include
statements in SSH config
#2317
Labels
cli
Area: CLI
JetBrains only added support for SSH config parsing via
ssh -G
this year (https://youtrack.jetbrains.com/issue/IDEA-221941/Get-rid-of-sshconfig-parser-use-ssh-G-instead). Before that they used a custom config parser that does not supportInclude coder
, which we're currently using (#1326, #1900).JetBrains has (or plans to) make
OpenSSH
config parsing the default, but recent versions (e.g. 2022.1.3`) require this parser to be manually enabled in Advanced settings.As a result, it's not possible to connect to coder workspaces unless the new parser is enabled, or manual changes are made to
~/.ssh/config
.Our options are (there may be more, ideas welcome):
Host coder.*
below))--diff
in that PR)coder config-ssh --jetbrains-compat
(or--single-file
) which writes to~/.ssh/config
Example for how to define a catch-all that could be used as part of docs (or second option):
Also note that only having the glob (
Host coder.*
) is incompatible with VSCode Remote SSH (the workspace won't be listed).This is a blocker for #2153 (if we decide to do it).
The text was updated successfully, but these errors were encountered: