[mayfair.textdrive.us] executing command
←[2;37mcommand finished in 391ms←[0m
failed: "sh -c 'git clone -q jdqu...@mayfair.textdrive.us:/users/home/jdquirke/
git/deq.git /users/home/jdquirke/rails_apps/deq/releases/20130305183649 && cd /u
sers/home/jdquirke/rails_apps/deq/releases/20130305183649 && git checkout -q -b
deploy a58d22c14a114a62ffae1066628cbf9ebb6bac77 && (echo a58d22c14a114a62ffae106
6628cbf9ebb6bac77 > /users/home/jdquirke/rails_apps/deq/releases/20130305183649/
REVISION)'" on mayfair.textdrive.us
I'm on a Windows (XP) machine and I'm trying to use Capistrano to remotely update Rails code from a repository on server to a rails application directory on that same server, and I'm getting a "Host key verification failed" message. The thing that I find odd is that the "git ls-remote" command that runs first is asking for my passphrase and appears to be working fine. It looks like it's the next command (git clone) that's returning the "verification failed" message.
Is it indicative of a problem that the passphrase prompts look slightly different from each other?
Enter passphrase for key '/c/Documents and Settings/J. Douglas Quirk/.ssh/id_rsa': versus
Enter passphrase for C:/Documents and Settings/J. Douglas Quirk/.ssh/id_rsa:I've put put the command/response sequence at the following link, along with the contents of deploy.rb and Capfile.
https://gist.github.com/dougq/5093627
Thanks for any suggestions,
Doug
--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com 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 capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
←[33mexecuting locally: "git ls-remote us...@server.com:/users/home/jdquirke/git/deq.git HEAD"←[0m
Enter passphrase for key '/c/Documents and Settings/J. Douglas Quirk/.ssh/id_rsa':
←[2;37mcommand finished in 9547ms←[0m
Similarly, cap deploy:setup prompts me for my passphrase and then successfully creates directories on the remote server.
I'm wondering why the key seems to be working in the context of the above, but is failing on the "git clone" command.
Doug,The output lines:
[mayfair.textdrive.us] executing command
←[2;37mcommand finished in 391ms←[0m
failed: "sh -c 'git clone -q us...@server.com:/users/home/jdquirke/
Thanks again. Does it matter that the Git repository and the deploy directory are both on the same remote machine?
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).
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."
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?