unix1986 / parallel-ssh

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

prsync - error when SSH daemon on non-standard port #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Thanks, that works great!

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