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]<javascript:>
> > 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] <javascript:>
>> > 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&amp;sa=D&amp;sntz=1&amp;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]<javascript:>
>>> * To unsubscribe from this group, send email to 
>>> [email protected] <javascript:> 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] <javascript:>.
>>>
>>> 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]<javascript:>
>> * To unsubscribe from this group, send email to 
>> [email protected] <javascript:> 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] <javascript:>.
>> 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.

Reply via email to