> Thanks again. Does it matter that the Git repository and the deploy > directory are both on the same remote machine?
Yes, the way you have it now, the machine is trying to ssh into itself, that's where the host key verification is coming from. See `:local_repository` at https://github.com/capistrano/capistrano/wiki/2.x-Significant-Configuration-Variables > In other words, there's just my local/Windows XP machine and the remote > (Solaris, I think) machine (there's not a third machine involving Git, Git > is on the same machine I'm trying to deploy to). > Understood, that's typical of starting-up people! > I noticed today that if I run "cap deploy:setup" I get prompted for my > passphrase and the directories do in fact get created on the remote > machine. (I confirmed that if I delete them they re-appear after "cap > deploy:setup." > Sure, `cap deploy:setup` should really "set up" the host key, too, but it doesn't yet. `deploy:setup` just verifies all the parts between your workstation and the server you are deploying to. > So, when I run "cap deploy:update," the clone command is trying to clone > from one directory in my directory tree on the remote machine to a > different directory in my directory tree (both under the control of the > same user). I wonder if the fact that I'm doing this remotely means that > the remote server needs info about my local machine in its known_hosts > file? Or does it need info about itself in that file? No, it would need it's *own* host key in the known_hosts file.. see the note above about :local_repository, so you can see how to have your workstation access the server first, and then the server not have to loop back into itself. -- -- * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
