[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'auto
From: |
Andreas Bernauer |
Subject: |
Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded |
Date: |
Wed, 23 Sep 2015 07:05:01 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 23/09/15 1:11, Ole Tange wrote:
> On Tue, Sep 22, 2015 at 11:09 PM, Andreas Bernauer
> <address@hidden> wrote:
> :
>> Thus, another solution is that parallel tells ssh to stop parsing
>> options with '--':
>> ssh localhost -- perl -e \'"print 1"\'
>>
>
> How do you do that for rsync (which is used for file transfer)?
>
> rsync -e ssh ... [something with -e and and stuff]
>
> I do not see a way of providing rsync with a template in which to put
> the hostname with -- appended:
I've just checked the rsync sources and rsync appends the host name to
the command given with -e. I don't see a way to add arguments after the
hostname.
I was wondering why you'd need '[something with -e and and stuff]' for
the ssh command to rsync, as I don't know parallel's internals. I would
have expected that rsync is used to transfer the files (with an ssh that
does not need '--' or '[something with -e and and stuff]') and then a
separate ssh command starts the remote command (which would need the '--').
> Also it seems autossh ignores exit code
That's a no-go.
-Andreas
- GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Marco Tamassia, 2015/09/22
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Marco Tamassia, 2015/09/22
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Ole Tange, 2015/09/22
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Andreas Bernauer, 2015/09/22
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Ole Tange, 2015/09/22
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded,
Andreas Bernauer <=
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Marco Tamassia, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Andreas Bernauer, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Marco Tamassia, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Andreas Bernauer, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Marco Tamassia, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Ole Tange, 2015/09/23
- Re: GNU Parallel Bug Reports --ssh 'autossh' not working and --ssh 'autossh -M {PORT} not expanded, Ole Tange, 2015/09/23