Speed up SSH

less than 1 minute read

According to the ssh_config(5) man page, ssh can have the following options: ControlMaster, ControlPath and ControlPersist

So, to speed up the connection time, you can use something like this on your ~/.ssh/config

ControlMaster auto
ControlPath /tmp/%r@%h:%p
ControlPersist yes

According to this page, it is specially useful to speed up git.

Comments