Useful ssh settings
The control path settings will let you multiplex one ssh connection for multiple ssh sessions. Practically this means that you can ssh to a box, and scp will not ask you for a password when you copy a file to or from that box. Also, it’s useful for tab completion over the network.
Add this to your ~/.ssh/config file:
Compression yes
Host 192.168.*.*
ControlPath ~/.ssh/master-%r@%h:%p
ControlMaster auto
ServerAliveInterval 30
HashKnownHosts no
Host *
ControlPath ~/.ssh/master-%r@%h:%p
ControlMaster auto
ServerAliveInterval 30
Advertisement