From 7e5ebe65e05a98cc1e92866e635607257acad9eb Mon Sep 17 00:00:00 2001 From: Florent Guilleux Date: Thu, 12 Dec 2013 14:44:27 -0500 Subject: [PATCH] Indicate how to add github.com to the list of server known hosts. --- .../authentication-and-authorisation/index.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentation/getting-started/authentication-and-authorisation/index.markdown b/documentation/getting-started/authentication-and-authorisation/index.markdown index 5855a78e..554ed759 100644 --- a/documentation/getting-started/authentication-and-authorisation/index.markdown +++ b/documentation/getting-started/authentication-and-authorisation/index.markdown @@ -202,6 +202,10 @@ exact same check that Capistrano does internally before attempting to deploy. The `-A` option may, or may not be required on your system, it's worth trying it both ways just to know how your system treats agent forwarding by default. +If you get the error "host key verification failed." log in into your server +and run as the deploy user the command `ssh git@github.com` to add github.com +to the list of known hosts. + From the SSH documentation: {% prism bash %}