summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorSunskyXH <SunskyXH@gmail.com>2026-06-01 23:24:08 +0900
committerGitHub <noreply@github.com>2026-06-01 17:24:08 +0300
commit250ae921628b7bbf68f33ac3f43ac90bdac10f24 (patch)
treeda6612a07094cfc7f3875f349fa3a94e409e0ddb /src/main.rs
parent043968dd97e8a864f4473f1651e9df9ecd6ed99d (diff)
feat: keep remote bridge alive with an ssh config keepalive fallback (#355)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index b7b11b16..02dabda6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -248,6 +248,16 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration
# a Herdr server restart. Requires official integrations that report session refs.
# resume_agents_on_restore = false
+[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
+# 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.
+# manage_ssh_config = true
+
[experimental]
# Allow launching herdr from inside a herdr-managed pane.
# allow_nested = false