I configured my server, as decribed in "Agile Web Development with
Rails
Third Edition":
- installed rails etc.
- installed & configured apache2 w/ Passenger on a virtual Ubuntu 9.10
server
- created a user 'oag' on the server and su'ed to oag
- created a git repository on the server and pushed my local
repository
- run
test -e ~/.ssh/id_dsa.pub || ssh-keygen -t dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys2
on the server
On my workstation:
- run
cap deploy:setup
on my WS - OK
- run
cap deploy:check
on my WS. Answer: You appear to have all necessary dependencies
installed
- run
cap deploy:migrations
on my WS. Answer:
* executing `deploy:migrations'
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote o...@oag-server:git/wvz.git
master"
o...@oag-server's password:
* executing "if [ -d /home/oag/oag-server/shared/cached-copy ];
then
cd /home/oag/oag-server/shared/cached-copy && git fetch origin &&
git
reset --hard aeba71d5b7ce45e24cdb2bf052260fbc235b3a66 && git clean -
d
-x -f; else git clone o...@oag-server:git/wvz.git
/home/oag/oag-server/shared/cached-copy && cd
/home/oag/oag-server/shared/cached-copy && git checkout -b deploy
aeba71d5b7ce45e24cdb2bf052260fbc235b3a66; fi"
servers: ["oag-server"]
Password:
[oag-server] executing command
** [oag-server :: out] Initialized empty Git repository in
/home/oag/oag-server/shared/cached-copy/.git/
** [oag-server :: err] Host key verification failed.
** [oag-server :: err] fatal: The remote end hung up unexpectedly
** [oag-server :: err] fetch-pack from 'o...@oag-server:git/wvz.git'
failed.
command finished
failed: "sh -c 'if [ -d /home/oag/oag-server/shared/cached-copy ];
then
cd /home/oag/oag-server/shared/cached-copy && git fetch origin &&
git
reset --hard aeba71d5b7ce45e24cdb2bf052260fbc235b3a66 && git clean -
d
-x -f; else git clone o...@oag-server:git/wvz.git
/home/oag/oag-server/shared/cached-copy && cd
/home/oag/oag-server/shared/cached-copy && git checkout -b deploy
aeba71d5b7ce45e24cdb2bf052260fbc235b3a66; fi'" on oag-server
The desaster begins after (successfully) entering the server user's
(oag) password the second time.
Inspecting the auth.log of the server I don't find any notice on
failed
authentication.
What is the reason for this this "Host key verification failed"?
Where or how to find more information?
--
* 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