Did you follow all the steps completely? (including generating an SSH key from the server, to your [email protected] account?)
It looks like the `debug1` you are seeing is the message saying that your login to the server worked correctly, i'e the connection from your computer, to your server. The error you are seeing from git ls-remote is coming from your server, trying to reach the git server. If your server is hosting your Git repository, and you are trying to deploy to it using Capistrano you should simply use a file:// url for your repository, as there's no need to go back out over SSH to get Git stuff from the local filesystem (local to the server) Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 21 October 2013 11:45, Dong Won Lee <[email protected]> wrote: > Hi, guys. i'm noob in capistrano and web application..:( > (and my english too...) > > now, i'm developing web server (nginx+php+postgresql) > it's almost over...so i find tool for deploy server easily... > > so i choice capistrano, but it's so hell to me..... > > example is look like easy, but... error error error continue T_T > > i'm struggling to get this right ( > http://www.capistranorb.com/documentation/getting-started/authentication-and-authorisation/ > ) > > but it's come to me again.... > > - in my computer > ssh -A [email protected] 'git ls-remote [email protected]: > /home/git/example.git/' > Host key verification failed. > > so i execute command > ssh -vA [email protected] 'git ls-remote [email protected]: > /home/git/example.git/' > > and i found > debug1:Authentication succeeded (publickey) > > and > debug1:Sending command: git ls-remote [email protected]: > /home/git/example.git/ > debug1:client_input_channel_req: channel 0 rtype exit-status reply 0 > debug1:client_input_channel_req: channel 0 rtype [email protected] reply 0 > Host key verification failed. > Exit status 128 > > in document, > > ssh [email protected] 'hostname; uptime' > > this command is ok, but git ls-remot is fail ....plz help me > > -- > -- > * 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. > -- -- * 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.
