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

Optimize SSD on Linux

Manually clean up zimbra zmcat/zmcpustat exploit

Ports to allow for whatsapp call