My fault !
During all my tests, at some point, I set-up forward_agent option to false
and forgot to put it back to true in my ./config/deploy/production.rb :
set :ssh_options, { forward_agent: true, port: 8888 }
Capistrano's task
cap production git:check --trace
*is now working !!!*
More over I noticed during the last check of my capistrano files that I was
using wrong rvm-adaptator gem for capistrano 3.x in my Capfile:
# For Capistrano 2.x
require 'rvm/capistrano'
So I changed it for this :
# For Capistrano 3.x
require 'capistrano/rvm'
Thanks for your help on this.
I hope this thread will other people having problem with ssh access in
git:check Capistrano's task ^^
Cheers,
Douglas
--
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/7a3a75bb-a4af-4310-92e9-ad647783b8da%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.