Re:Tips for Remote Unix Work (SSH, screen, and VNC)
by DEinspanjer on Saturday December 17, 2011 @10:02AM
(#3364318)
Normally, your SSH auth agent is responsible for letting you unlock your key once and use it with multiple sessions.
ControlMaster's biggest advantage is using a single encryption channel for multiple connections. Especially handy if you need to jumphost through a vpn machine.
Enter the ControlMaster mechanism (see man ssh_config):
So now you type in your password for your first session only, and every other session will be slaved to it (this includes directory/file auto completion over ssh in zsh and other nice nibbles like it does with public/private key pairs).