suggested SSH client configuration

This commit is contained in:
2023-02-24 10:50:56 +01:00
parent 5418a4ad6b
commit d95aafd590

View File

@@ -6,7 +6,7 @@ The assumption is that you are working at the PSI campus or are connected over V
A good SSH config is a rather personal thing. First there are useful defaults, then starting points for common use cases.
The last chapter contains the details and explanations useful for a even more streamlined configuration.
## TLDR; defaults
## TLDR; common defaults
```
# useful defaults
ControlPersist 3h
@@ -93,7 +93,7 @@ The full feature set you get at [`ssh_config(5)`](https://man.openbsd.org/ssh_co
### Multiplexing Master Connection
The master connection (`ControlMaster auto`) multiplexes several connections to one the first connection. This means that the connection setup and authentication step is only done once and so you get a single-signon behaviour (especially useful for `wmgt01` and `wmgt02`) and a faster connection setup for subsequent connections. The `ControlPersist` setting defines for how long the master connection will stay after the last user connection has been closed.
The master connection (`ControlMaster auto`) multiplexes several connections over the first connection. This means that the connection setup and authentication step is only done once and so you get a single-signon behaviour (especially useful for `wmgt01` and `wmgt02`) and a faster connection setup for subsequent connections. The `ControlPersist` setting defines for how long the master connection will stay after the last user connection has been closed.
### Stale Connection Detection