Log in

No account? Create an account
entries friends calendar profile http://web.figure1.net/~jlindqui Previous Previous Next Next
Multiple ssh sessions with low overhead - Jason Lindquist
Idle ramblings of an idle mind
Multiple ssh sessions with low overhead
dbtfeed tipped me to this, answering someone else's question on IRC.

If you need to run multiple simultaneous or successive ssh connections to the same host, OpenSSH 4 and later have a mechanism to do this with minimal overhead. ControlMaster lets you do the key exchange once, and routes successive connections through that session.
2 comments or Leave a comment
From: tskirvin Date: August 7th, 2008 05:01 pm (UTC) (Link)

Wow. That's insanely useful.
jlindquist From: jlindquist Date: August 7th, 2008 05:22 pm (UTC) (Link)
Isn't it?

Way back in the pre-OpenSSH days, I had scripts and configs set up that let me send print jobs from home to printers at Qualcomm, and vice-versa, through ssh pipes. The inbound-to-QC jobs depended on ssh-agent running. It worked, but God, was it ever slow! This looks like a very efficient way to do the same thing.
2 comments or Leave a comment