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

Setting open office u label tom & jerry

Tips Jika Mobil Anda Habis Bensin LOL!