Title: Non-recent versions of JetBrains editors don't support `Include` statements in SSH config · Issue #2317 · coder/coder · GitHub
Open Graph Title: Non-recent versions of JetBrains editors don't support `Include` statements in SSH config · Issue #2317 · coder/coder
X Title: Non-recent versions of JetBrains editors don't support `Include` statements in SSH config · Issue #2317 · coder/coder
Description: 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 support...
Open Graph Description: 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 cu...
X Description: 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 cu...
Opengraph URL: https://github.com/coder/coder/issues/2317
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Non-recent versions of JetBrains editors don't support `Include` statements in SSH config","articleBody":"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 support `Include coder`, which we're currently using (#1326, #1900).\r\n\r\nJetBrains 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.\r\n\r\nAs 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`.\r\n\r\nOur options are (there may be more, ideas welcome):\r\n\r\n1. Document the JetBrains gotcha, instruct the user how to change the parser (or update their SSH config for older versions (e.g. see `Host coder.*` below))\r\n2. Revert the changes in #1900 either fully or partially (there are some other good changes like safer config writing and `--diff` in that PR)\r\n3. Add an option like `coder config-ssh --jetbrains-compat` (or `--single-file`) which writes to `~/.ssh/config`\r\n4. Something else?\r\n\r\nExample for how to define a catch-all that could be used as part of docs (or second option):\r\n\r\n```\r\nHost coder.*\r\n\tConnectTimeout=0\r\n\tStrictHostKeyChecking=no\r\n\tUserKnownHostsFile=/dev/null\r\n\tLogLevel ERROR\r\n\tProxyCommand \"coder\" --global-config \"/Users/me/Library/Application Support/coderv2\" ssh --stdio $(echo %h | cut -d. -f2-)\r\n```\r\n\r\nAlso note that _only having the glob_ (`Host coder.*`) is incompatible with VSCode Remote SSH (the workspace won't be listed).\r\n\r\nThis is a blocker for #2153 (if we decide to do it).","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2022-06-14T14:52:56Z","url":"https://github.com/coder/coder/issues/2317"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a0cbd7c6-e85d-35ad-c43d-c75126177acb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEC0:33D24F:2179BB2:2AECD7F:6B018195 |
| html-safe-nonce | b08c87552ab2dc6d9f62d1dbe22380490325ef5ba25c27306a227a0876a64068 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUMwOjMzRDI0RjoyMTc5QkIyOjJBRUNEN0Y6NkIwMTgxOTUiLCJ2aXNpdG9yX2lkIjoiNTYxODg2MDMyMjE5NTYwMzg2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c2cf172362bcddc69fc9b1cca815d2ea6fb6d7b23dc555b2fac4df517e49801 |
| hovercard-subject-tag | issue:1270933021 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/435969640e50c4ebd9a448e268f7b5f5d8b4d2abe783d2bf626c79d76effac7d/coder/coder/issues/2317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/435969640e50c4ebd9a448e268f7b5f5d8b4d2abe783d2bf626c79d76effac7d/coder/coder/issues/2317 |
| og:image:alt | 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 cu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width