Reuse SSH connection
To reuse existing SSH connection, add this to ~/.ssh/config :
ControlMaster autoSo you wont be asked for password, when connection to same host, including scp and rsync
Host *
ControlPath ~/.ssh/master-%r@%h:%p
Comments