From 0e581b151f7ce9dbb66b14df0ee06d63f752871e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 29 Mar 2021 07:46:14 -0700 Subject: [PATCH] docs: changelog and ssh doc updates --- docs/changelog.md | 6 ++++++ docs/ssh.md | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 1a430d8a2..778fead7a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -28,6 +28,12 @@ brief notes about them may accumulate here. * Fixed: font fallback now happens asynchronously from painting [#508](https://github.com/wez/wezterm/issues/508) * New: added [window:get_selection_text_for_pane](config/lua/window/get_selection_text_for_pane.md) method [#575](https://github.com/wez/wezterm/issues/575) * Fixed: implicit hyperlink rules, word and line selection now operate on logical lines which means that they deal with wrapped lines outside of the viewport. [#408](https://github.com/wez/wezterm/issues/408) +* New: `wezterm ssh` now supports reading `~/.ssh/config` and overriding options via the command line. `IdentityFile` and `ProxyCommand` are the two main new supported options. Read more about it in [ssh](ssh.md). +* Fixed: ssh support will now try all available identities from the SSH agent rather than just the first. +* New: splitting panes in `wezterm ssh` now works like spawning new tabs: the new program is started on the remote host with no additional authentication required. +* Fixed: Multiplexer sessions would fail to bootstrap via ssh because the bootstrap process exited too soon. [#507](https://github.com/wez/wezterm/issues/507) +* Fixed: Windows: we now compile libssh2 against openssl on all platforms to improve overall key and crypto algorithm support +* Fixed: spawning a new tab via the launcher menu failed because it used the pretty printed multiplexer domain label rather than the multiplexer domain name. ### 20210314-114017-04b7cedd diff --git a/docs/ssh.md b/docs/ssh.md index cde595764..108f035c2 100644 --- a/docs/ssh.md +++ b/docs/ssh.md @@ -24,3 +24,25 @@ tabs will die if your network connection is interrupted. Take a look at [the multiplexing section](multiplexing.html) for an alternative configuration that connects to a remote wezterm instance and preserves your tabs. + +*Since: nightly builds only* + +wezterm is now able to parse `~/.ssh/config` and `/etc/ssh/ssh_config` +and respects the following options: + +* `IdentityFile` +* `Hostname` +* `User` +* `Port` +* `ProxyCommand` +* `Host` (including wildcard matching) +* `UserKnownHostsFile` +* `IdentitiesOnly` + +All other options are parsed but have effect. Notably, neither `Match` or `Include` will do anything. + +`wezterm ssh` CLI allows overriding config settings via the command line. This example shows how to specify the private key to use when connecting to `some-host`: + +```bash +wezterm ssh -oIdentityFile=/secret/id_ed25519 some-host +```