From c00551420891cf8b4f56b346c2a286cbd2b669b5 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Thu, 11 Jun 2020 10:17:32 -0400 Subject: [PATCH] Added info on sockets folder --- content/blog/sshconnectionsharing.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/blog/sshconnectionsharing.md b/content/blog/sshconnectionsharing.md index 6f4ecac..6bc00a3 100644 --- a/content/blog/sshconnectionsharing.md +++ b/content/blog/sshconnectionsharing.md @@ -20,3 +20,11 @@ ControlPath ~/.ssh/sockets/socket-%r@%h:%p | `ControlPersist` | `yes` to keep connection up even when no clients are connected.
`2s` (or custom timeout) to keep the connection up for 2 seconds after no clients are connected.
`no` to disconnect immediately | | `ControlPath` | Where to store connection information. This should not be writable by other users. | + +You'll also need to create the `sockets` folder if you don't have it already setup. + +```bash +mkdir ~/.ssh/sockets +chmod go-w ~/.ssh/sockets +``` +