From ea9b11faa469833d65ae85af70e1955d62d1ac74 Mon Sep 17 00:00:00 2001 From: Mortdecai Date: Sun, 29 Mar 2026 20:44:00 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20use=20ControlPersist=20yes=20=E2=80=94?= =?UTF-8?q?=20let=20key=20auth=20handle=20its=20own=20timeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index cdfc8dd..a924a9c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -184,12 +184,12 @@ Based on what the user chose: Host * ControlMaster auto ControlPath ~/.ssh/sockets/%r@%h-%p - ControlPersist 600 + ControlPersist yes SSHEOF ``` Explain to the user how it works: - > **How this works:** When you SSH into a remote machine, the connection stays open in the background for 10 minutes (`ControlPersist 600`). During that time, any other SSH command to the same host — including ones I run — reuses your authenticated tunnel. No password prompt, no key tap. Just open an SSH session to your target machine before asking me to work on it. + > **How this works:** When you SSH into a remote machine, the connection stays open in the background for 10 minutes (`ControlPersist yes`). During that time, any other SSH command to the same host — including ones I run — reuses your authenticated tunnel. No password prompt, no key tap. The tunnel stays open until the original session closes or the connection drops — your key/auth provider handles its own timeout. Just open an SSH session to your target machine before asking me to work on it. If the user's `~/.ssh/config` already has Host-specific blocks, add the ControlMaster settings under a `Host *` block at the **end** of the file so it acts as a default without overriding specific host configs.