With OpenSSH, I think you could address this issue by configuring SSH to reuse existing connections, rather than spawning new ones. You'd even get a performance improvement. See the ControlMaster and ControlPath configuration directives in ssh_config(5)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds