A rambling blog from Arron, a scrawny little dork who likes to code. ;)
Friday, September 12, 2008
Capistrano + Git: Host key verification failed.
Getting 'Host Key verification' failed when you're trying to do this? You might be trying to deploy source in a Git repo, and the Git repo is accessed via SSH.
Do this: ssh into your target machine (the one codes getting deployed on), and then ssh into the Git repo machine -- or just do a 'git clone' if that's not possible. Accept the key, and then you're golden.