Try running the rsync/ssh command yourself directly to see if you can narrow down the problem.
rsync -e "ssh -o StrictHostKeyChecking=no" hb-d1:/home... It might help to add a couple of -v flags for extra details. (It's probably more useful to log more SSH detail than rsync detail, so try using rsync - e "ssh -v -o StrictHostKeyChecking=no" ) Hopefully that will give you a clue what's going on. Good luck! -- Rob Hunter (typed with my thumbs) On Aug 18, 2012 1:59 AM, "cyril scetbon" <[email protected]> wrote: > Hi, > > I can't install a package on remote servers using capistrano : > > cap -f Capfile.cluster install_pkg > * executing `install_pkg' > * executing `install_package' > * executing "rsync -e \"ssh -o StrictHostKeyChecking=no\" > hb-d1:/home/ubuntu/hypertable-0.9.6.0-linux-x86_64.deb /home/ubuntu/" > servers: ["hb-zk1", "hb-zk2", "hb-zk3", "hb-d1", "hb-d2", "hb-d3", > "hb-d4", "hb-d5", "hb-d6", "hb-d7", "hb-d8", "hb-d9", "hb-d10", "hb-d11", > "hb-d12"] > [hb-d2] executing command > *** [err :: hb-d2] Permission denied (publickey). > > However, I can scp the file : > > scp /home/ubuntu/hypertable-0.9.6.0-linux-x86_64.deb hb-d2:/home/ubuntu/ > hypertable-0.9.6.0-linux-x86_64.deb > 100% 79MB 39.6MB/s > 00:02 > > any idea ? > > thanks > > -- > * You received this message because you are subscribed to the Google > Groups "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this > group at http://groups.google.com/group/capistrano?hl=en > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
