Reuse SSH connection

To reuse existing SSH connection, add this to ~/.ssh/config :
ControlMaster auto

Host *
    ControlPath ~/.ssh/master-%r@%h:%p
So you wont be asked for password, when connection to same host, including scp and rsync


Comments

Popular posts from this blog

Ports to allow for whatsapp call

Manually clean up zimbra zmcat/zmcpustat exploit

Keychron K2 in Linux