h3idan/parallel-ssh

prsync - error when SSH daemon on non-standard port

GoogleCodeExporter opened this issue · 2 comments

I run my SSH daemon on a non-standard port (e.g. 2222), and I set my hosts
file to be "server:2222".  When I use pssh to run a command, it works
great, but with prsync, I get an error "Received error code of 255".  From
looking at the prsync code, I think the issue is related to using --port to
set the port.  When I use rsync over ssh to a non-standard port, I always
do this instead:

rsync -e "ssh -p 2222" ...

so I pass the port to ssh, rather than to rsync.

Can this be updated in the prsync code?

Original issue reported on code.google.com by ryan.bro...@gmail.com on 22 Oct 2009 at 1:33

Thanks for pointing out this error.  I think I've fixed it in commit 9b2c7f3.  
Would
you please test to make sure this worked?  Thanks.

Original comment by amcna...@gmail.com on 22 Oct 2009 at 7:32

  • Changed state: Fixed
Thanks, that works great!

Original comment by ryan.bro...@gmail.com on 25 Oct 2009 at 12:59