Comment on Unix as IDE (2012)parentComments−jclulow6yYou may wish to investigate the ControlMaster directive in your SSH configuration. Depending on how the two factor authentication system works, you may be able to authenticate just once for many concurrent SSH sessions.−felixhummel6yHere's what I use to keep SSH connections open for 4 hours: https://blag.felixhummel.de/apps/ssh.html#configIt took a while to find out that `Host *` should be at the end of the file if you want to override things.
Comments
You may wish to investigate the ControlMaster directive in your SSH configuration. Depending on how the two factor authentication system works, you may be able to authenticate just once for many concurrent SSH sessions.
Here's what I use to keep SSH connections open for 4 hours: https://blag.felixhummel.de/apps/ssh.html#config
It took a while to find out that `Host *` should be at the end of the file if you want to override things.