I'm having the same issue,

Do I need a passphrase for my private key?



On Tuesday, December 31, 2013 8:36:09 AM UTC-8, Piotr Kedziora wrote:
>
> did you managed to fix it ? i have the same issue 
>
> On Friday, 22 November 2013 20:09:52 UTC+1, Fabrice Cheng wrote:
>>
>> "cap production git:check" indeed report the same error.
>> "curl google.com" works, my server is hosted from linode.com. It's an 
>> ubuntu 13.10.
>>
>> The thing is that it was working with Capistrano 2, it's only when I 
>> switched to the Capistrano 3 that I got this error.
>>
>> Thanks a lot for your time though, I appreciate.
>>
>> On Friday, November 22, 2013 5:09:56 AM UTC-8, Tom Harrison wrote:
>>>
>>> There's the built-in `cap <stage> git:check` command -- it will very 
>>> likely report the same results as what you report in your question.
>>>
>>> The second problem I reported, that git:check helped me isolate was that 
>>> my server was unable to route outbound requests to git (or anywhere else). 
>>>  Log on to the server and try something like `curl google.com` to make 
>>> sure it can send and receive.  The cause of my problem was that our servers 
>>> were running in a newly configured Amazon VPC and we had not properly 
>>> configured our NAT server to route traffic out and back.  If this might be 
>>> the problem, check your server's or network's firewall settings.
>>>
>>> Good luck!
>>>
>>>
>>> On Thu, Nov 21, 2013 at 6:27 PM, Fabrice Cheng <[email protected]>wrote:
>>>
>>>> Thanks a lot Tom.
>>>>
>>>> Unfortunately, I've already tried all these.
>>>> My ssh-agent is running, and my keys are stored in the ssh-add (ssh-add 
>>>> -L shows it).
>>>>
>>>> And I've tried to run this task which proves that my agent forwarding 
>>>> is working perfectly :
>>>> *task :forwarding do*
>>>> *  on roles(:all) do |h|*
>>>> *    if test("env | grep SSH_AUTH_SOCK")*
>>>> *      info "Agent forwarding is up to #{h}"*
>>>> *    else*
>>>> *      error "Agent forwarding is NOT up to #{h}"*
>>>> *    end*
>>>> *  end*
>>>> *end*
>>>>
>>>>
>>>> Any other clues ? :(
>>>>
>>>> On Thursday, November 21, 2013 1:01:48 PM UTC-8, Tom Harrison wrote:
>>>>
>>>>> Ha!  Even some of us quite familiar with ssh get into weird 
>>>>> identity/agent issues :-)
>>>>>
>>>>> Thanks for Cap 3!
>>>>>
>>>>>
>>>>> On Thu, Nov 21, 2013 at 3:58 PM, Lee Hambley <[email protected]>wrote:
>>>>>
>>>>>> Thanks for the validation that the docs helped Tom! It's often weird 
>>>>>> identity/agent issues that people unfamiliar with SSH run into!
>>>>>>
>>>>>> Lee Hambley
>>>>>> --
>>>>>> http://lee.hambley.name/<http://www.google.com/url?q=http%3A%2F%2Flee.hambley.name%2F&sa=D&sntz=1&usg=AFQjCNHbiq4ZaE1rKlfSaaApf5k0PMNo8Q>
>>>>>> +49 (0) 170 298 5667
>>>>>>  
>>>>>>
>>>>>> On 21 November 2013 20:25, Tom Harrison <[email protected]> wrote:
>>>>>>
>>>>>>>  I was having what seem like similar issues, and took the time to 
>>>>>>> write the two tasks described on this page: http://www.capistranorb.
>>>>>>> com/documentation/getting-started/cold-start/<http://www.google.com/url?q=http%3A%2F%2Fwww.capistranorb.com%2Fdocumentation%2Fgetting-started%2Fcold-start%2F&sa=D&sntz=1&usg=AFQjCNFxVVzp-MK4Xr6bodeOWc03syFWTQ>
>>>>>>>
>>>>>>> These helped me diagnose two distinct problems: 1) my ssh agent 
>>>>>>> identity had been lost (re-run ssh-add to fix); 2) the remote server 
>>>>>>> was 
>>>>>>> not about to connect to my git provider (GitHub).
>>>>>>>
>>>>>>> Tom
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, November 20, 2013 5:47:58 PM UTC-5, Fabrice Cheng 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I wanted to try the newer version of Capistrano 3 on a new project 
>>>>>>>> and have been struggling with this problem for a few days now.
>>>>>>>>
>>>>>>>> while running "*cap production deploy*" for the first time, I 
>>>>>>>> always got the same error (LOG 
>>>>>>>> :http://pastebin.com/DKvzRTc2<http://www.google.com/url?q=http%3A%2F%2Fpastebin.com%2FDKvzRTc2&sa=D&sntz=1&usg=AFQjCNEX_0KxQqTTHcrkGEL1zBFFKEqLTQ>
>>>>>>>> ).
>>>>>>>>
>>>>>>>> Apparently, it fails to run this command "git ls-remote 
>>>>>>>> [email protected]:......" on the server
>>>>>>>>
>>>>>>>> I've tried everything : - forward_agent set as true with ssh key on 
>>>>>>>> local machine and uploaded on bitbucket - forward_agent set as false 
>>>>>>>> and 
>>>>>>>> uploaded manually the ssh key on the production server (when I run 
>>>>>>>> manually 
>>>>>>>> 'git [email protected]:......' on the server, it works 
>>>>>>>> perfectly.
>>>>>>>>
>>>>>>>> I've already set the "user" attribute on the deploy.rb file, this 
>>>>>>>> doesn't fix the issue.
>>>>>>>>
>>>>>>>> Thanks for the help, I'm open to any suggestion!
>>>>>>>>
>>>>>>>   -- 
>>>>>>> -- 
>>>>>>> * 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 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 [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 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 a topic in 
>>>>>> the Google Groups "Capistrano" group.
>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>> topic/capistrano/S6n2L2HD9fU/unsubscribe.
>>>>>>  To unsubscribe from this group and all its topics, 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 a topic in the 
>>>> Google Groups "Capistrano" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/capistrano/S6n2L2HD9fU/unsubscribe.
>>>> To unsubscribe from this group and all its topics, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/08f3f3eb-baa7-4205-9640-5f1e88dba136%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to