4 ms·
In tmux, when opening multiple sessions to the same remote server, how do you avoid typing the password repeatedly?
by nafizh 6y ago
In tmux, when opening multiple sessions to the same remote server, how do you avoid typing the password repeatedly?
- milofeynman 6y agoAdd your ssh pub key (id_rsa.pub) to authorized_ssh keys on the remote servers will automatically authenticate you. https://www.ssh.com/ssh/copy-id https://www.ssh.com/ssh/copy-id
- kps 6y agoLook up ‘shh multiplexing’. This makes subsequent sessions share the same connection. I don't know a particularly good tutorial; maybe see https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing