On Mon, May 8, 2017 at 9:02 PM, Joe Sapp <[email protected]> wrote:
> It appears that Parallel creates a new SSH connection when it runs,
> even if an existing connection is open and ControlMaster is enabled in
> ~/.ssh/config and Parallel config (I'm not sure how to test this,
> though). I would like to open an SSH connection at the beginning of
> my session and use that one for subsequent connections to the same
> machine. Is there a way to tell Parallel to use an existing SSH
> connection, if there is one open? Maybe by specifying the control
> path?
Check out `man parallel`:
--controlmaster
-M Use ssh's ControlMaster to make ssh connections
faster. Useful if jobs run remote and are very
fast to run. This is disabled for sshlogins
that specify their own ssh command.
/Ole