diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-30 14:20:35 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-30 14:21:11 +0300 |
| commit | e9bcea9c0da2ebd996b4b570c504582740f3466e (patch) | |
| tree | 7ae603f6640d0d8e6f75c8b2a7a7b58a4cdb111e /src/main.rs | |
| parent | 2a1a8d64de678fa0e9e2e2f097e8520095b11c5a (diff) | |
fix: reuse remote ssh connection
refs #888
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 26639b3a..8fd60ef6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -331,13 +331,14 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # resume_agents_on_restore = true [remote] -# Whether herdr manages the ssh config used for the `herdr --remote` bridge. -# When true (default), herdr runs the bridge ssh through a generated config that +# Whether herdr manages the ssh config used for `herdr --remote`. +# When true (default), herdr runs remote ssh through a generated config that # includes your ~/.ssh/config first and adds ServerAliveInterval/ -# ServerAliveCountMax as a fallback (so any keepalive you set yourself still -# wins) to survive idle network/NAT timeouts. Set false to run plain ssh against -# your ssh config unchanged — this does not force keepalive off, it only stops -# herdr from adding its own. +# ServerAliveCountMax as fallbacks (so any keepalive values you set yourself +# still win) to survive idle network/NAT timeouts. Herdr also uses a private +# per-attach OpenSSH control socket to reuse the first authenticated connection. +# Set false to run plain ssh against your ssh config unchanged — this does not +# force keepalive or multiplexing off, it only stops herdr from adding its own. # manage_ssh_config = true [experimental] |
