Is there a way to do connection sharing?
Something like this:
if ! ssh -S /dev/shm/ssh-foo -O check <host> 2> /dev/null; then
rm -f /dev/shm/ssh-foo
ssh -S /dev/shm/ssh-foo -fMN <host>
fi
ssh -S /dev/shm/ssh-foo <host> <command>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users