[Top][All Lists]

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

Re: GNU Parallel Bug Reports Unable to transfer multiple files when pass

From: Andreas Bernauer
Subject: Re: GNU Parallel Bug Reports Unable to transfer multiple files when password-less SSH is not setup
Date: Thu, 12 Sep 2013 10:43:59 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Alternatively, set ControlMaster (and ControlPath) and ssh to the remote
machine(s) in a separate terminal manually before running parallel. You
don't have to enter the passwords again, then.

I have this in my ~/.ssh/config
Host *
ControlMaster auto
ControlPath ~/.ssh/address@hidden:%p



On 9/12/13 9:06, Ole Tange wrote:
> Yes. GNU Parallel is made for situations where you do not have to
> enter your password. Look at ssh-agent and be inspired by
> https://wiki.dna.ku.dk/dokuwiki/doku.php?id=ssh_config
> /Ole
> On Wed, Sep 11, 2013 at 6:47 PM, Zhi Shen <address@hidden> wrote:
>> Hi,
>> We are unable to transfer multiple files to a remote server when
>> password-less SSH is not setup.  We also notice that we make multiple trips
>> to the remote server whenever we use "--bf" to transfer a file to the remote
>> server.  From this, we had to input multiple passwords.
>> local$ ./parallel -V
>> GNU parallel 20130722
>> local$ uname -a
>> Linux local 2.6.18-308.8.1.el5 #1 SMP Fri May 4 16:43:02 EDT 2012 x86_64
>> x86_64 x86_64 GNU/Linux
>> remote$ uname -a
>> Linux remote 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64
>> x86_64 x86_64 GNU/Linux
>> local$ touch file1 file2
>> local$ ./parallel --nonall -k --bf file1 --bf file2 -S remote "ls -trlh"
>> remote's password: remote's password:
>> stty: standard input: Invalid argument
>> local$ rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
>> rsync.c(542) [sender=3.0.6]
>> The above command did not come back and we press "CTRL+C" to exit.
>> Thanks,
>> zhi
>> --
>> Zhi Shen

reply via email to

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