If you're like me, you open a lot of different terminal sessions throughout your day. When it comes to SSH, I want these different sessions to share a connection rather than creating a new one each time.
To accomplish this, I have the following in my `~/.ssh/config` file.
| `ControlPersist` | `yes` to keep connection up even when no clients are connected.<br/>`2s` (or custom timeout) to keep the connection up for 2 seconds after no clients are connected.<br/>`no` to disconnect immediately |
| `ControlPath` | Where to store connection information. This should not be writable by other users. |