[capistrano] ssh-agent / forward_agent / multiple keys

2009-06-10 Thread Ken Mayer
I use unfuddle.com for git repo and they require a unique ssh/rsa key per account. I have more than one account. When I try to deploy, I get an error because the gitosis server gets the other key and authenticates me for the wrong account, so I get a read access denied error. I can remove the

[capistrano] Re: ssh-agent / forward_agent / multiple keys

2009-06-10 Thread Lee Hambley
Hi Ken, That does look like it might be a bug in someone's software, maybe our Git module, or maybe your Git binary, can you post your capfile, and maybe deploy.rb (anything with configuration settings in) - I may have a couple of ideas for you. - Lee 2009/6/10 Ken Mayer li...@bitwrangler.com

[capistrano] Re: ssh-agent / forward_agent / multiple keys

2009-06-10 Thread Ken Mayer
Thanks for your help! $ gem list capistrano *** LOCAL GEMS *** capistrano (2.5.5, 2.5.4, 2.5.3, 2.5.0, 2.4.3, 2.2.0, 2.1.0) $ git --version git version 1.6.1.2 # Capfile # load 'deploy' if respond_to?(:namespace) # cap2 differentiator Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin|

[capistrano] Re: capistrano recipe for whenever failing

2009-06-10 Thread timg
I was having precisely the same problem today and tracked this post down http://blog.zerobearing.com/2009/04/27/capistrano-rake-command-not-found/ For me, it worked perfectly. One note, you have to put the entire path in your .ssh/environment file:

[capistrano] Re: capistrano recipe for whenever failing

2009-06-10 Thread timg
And after this, I had to add the same path to the top of my user's crontab since cron suffers from the same issue: PATH=/opt/ruby/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/ sbin:/usr/bin On Jun 10, 4:00 pm, timg t...@tag.ca wrote: I was having precisely the same problem today and