Skip to content
Snippets Groups Projects
Commit 38a5d89e authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Add ssh client config recommendation

parent 052471ca
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,30 @@ In case of a restrictive firewall, for instance in an hotel, you can also connec
Linux and macOS workstations have SSH installed in all current default installations. For Windows we suggest [Putty SSH](http://www.putty.org/) as an SSH client.
Configuration
-------------
We recommend the following client settings in your `~/.ssh/config`:
```
HashKnownHosts no
ForwardAgent yes
ForwardX11 yes
ControlPersist 60s
ControlMaster auto
ControlPath ~/.ssh/ssh-%h-%p-%r
```
The last 3 variables enable the sharing of multiple sessions over a single network connection,
which will speed up subsequent connections to the same host (i.e.: makes tab completion usable for ssh/scp commands).
See also `man 5 ssh_config`.
To override this and start a new session in a new connection:
```bash
ssh -o ControlMaster=no -o ControlPath=none user@host
```
Debugging tips
--------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment