woai2607 / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

cannot parse for more than one -O/-o options; cannot use -i option #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a forwarded bug report from Debian, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533416 and if possible 
include 533416-forwarded@bugs.debian.org in any correspondence.

Problem description:
parallel-scp and parallel-ssh are not able to accept
1./ more than one -O options and translate them to -o options of the 
corresponding applications.
2./ -i (identity) option.

A patch (for parallel-scp) is attached, which solves the issue, though not all 
possible combination of the optional arguments are implemented and/or tested. A 
similar workaround is available for the parallel-ssh. Maybe, the argument 
parsing of the parallel-scp/ssh needs some reconsiderations...

Introducing the use of ':' in the folder description can assign file transfer 
direction. Of course from remote->local direction the source files shall have 
different names to avoid overwriting them.

As a wish this could be avoided by the use of hostname folders for the local 
target...

(This bug was reported 
https://bugs.launchpad.net/ubuntu/+source/pssh/+bug/387816)

Original issue reported on code.google.com by and...@pollock.id.au on 12 May 2014 at 12:15