Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 88160
Status: resolved
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: laiweiwei [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::OpenSSH rsync_get bug on MAC
Date: Tue, 27 Aug 2013 09:57:45 +0800
To: bug-Net-OpenSSH [...] rt.cpan.org
From: hotsnow <laiweiwei [...] gmail.com>
Hi: I run Net::OpenSSH on MAC, but it can't use rsync_get to pull multi files (single file is ok), because MAC's rsync client not support this command format: rsync -av user@1.1.1.1:/tmp/foo1 user@1.1.1.1:/tmp/foo2 /dst_dir/ anyway both MAC and Linux support this command format: rsync -av user@1.1.1.1:"/tmp/foo1 /tmp/foo2" /dst_dir/ So I changed the OpenSSH.pm on line 1914: my @src = map "$prefix:$_", $self->_quote_args({quote_args => 1, changed to: my @src = map "$prefix:$_", join " ", $self->_quote_args({quote_args => 1, It work well for me, ^_^ test on: Net::OpenSSH version 0.60 Linux: CentOS release 6.3 (Final), perl v5.10.1 MAC: OSX 10.8, perl 5.12.4
Subject: Re: [rt.cpan.org #88160] Net::OpenSSH rsync_get bug on MAC
Date: Wed, 28 Aug 2013 03:39:37 -0700 (PDT)
To: "bug-Net-OpenSSH [...] rt.cpan.org" <bug-Net-OpenSSH [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
>     I run Net::OpenSSH on MAC, but it can't use rsync_get to pull multi
Show quoted text
> files (single file is ok), because MAC's rsync client not support this > command format: > rsync -av  user@1.1.1.1:/tmp/foo1 user@1.1.1.1:/tmp/foo2  /dst_dir/ >     anyway both MAC and Linux support this command format: > rsync -av  user@1.1.1.1:"/tmp/foo1 /tmp/foo2"  /dst_dir/ > >     So I changed the OpenSSH.pm on line 1914: > my @src = map "$prefix:$_", $self->_quote_args({quote_args > => 1, > changed to: > my @src = map "$prefix:$_", join " ", > $self->_quote_args({quote_args => 1,
Thank you for reporting the issue. I have released version 0.61_11 that fixes it.   https://metacpan.org/release/SALVA/Net-OpenSSH-0.61_11