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 +``` +