parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using pre-existing SSH connection


From: Ole Tange
Subject: Re: Using pre-existing SSH connection
Date: Mon, 8 May 2017 22:09:24 +0200

On Mon, May 8, 2017 at 9:02 PM, Joe Sapp <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]