Skip to content

v1.17.1

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:42
· 9 commits to main since this release
v1.17.1
96f96ea

This release fixes SSH connections that failed with "Premature close" since 1.17.0 in Positron, VSCodium, and other editors that use the open source open-remote-ssh extension. It also fixes Windows paths with open-remote-ssh 0.4.0, and moves the OAuth setting out of experimental.

Bug fixes

  • Connections work again in Positron and VSCodium. open-remote-ssh splits the SSH ProxyCommand itself instead of running it through a shell. Since 1.17.0, it passed the single-quoted --url and --global-config to the CLI with the quotes still on, and merged --token= with the next argument, so every connection failed with "Premature close". The extension now uses double quotes, which read the same in a shell and in open-remote-ssh. (#1156, fixes #1153)
  • Header commands work with open-remote-ssh. coder.headerCommand was always single-quoted, so it never worked in these editors. It now works unless it contains $, a backtick, \, %, or a line break. For those, use an editor whose Remote SSH extension runs ssh, such as VS Code with Microsoft's Remote SSH extension. (#1156)
  • Connections work on Windows with open-remote-ssh 0.4.0. This version treats \ in the ProxyCommand as an escape, so paths reached the CLI as C:UsersJohn instead of C:\Users\John and the connection failed. 1.16.4 was affected too. The extension now writes drive-letter paths with /, which OpenSSH and open-remote-ssh both accept. UNC paths are unchanged. (#1157)
  • Header commands with quotes work on Windows. A coder.headerCommand containing " was split into several arguments before it reached the CLI. (#1156)

Improvements

  • OAuth is no longer experimental. coder.experimental.oauth is now coder.oauth.enabled. If you turned on the old setting, it keeps working until you set the new one in your user settings. OAuth stays off by default. (#1152, closes #1151)

Full changelog: v1.17.0...v1.17.1