Mike Bailey

Enable SSH agent forwarding for Capistrano

Filed under: ruby on rails, capistrano — Mike Bailey @ 1:38 am on May 14, 2007

Having to repeatedly enter passwords is a drag. And enabling password based SSH login to your SVN servers is a security risk. So I’m pretty excited that Chris Andrews implemented SSH agent forwarding into net-ssh-1.1.0.

Update to the latest version of net-ssh with:

sudo gem update net-ssh

To enable it, put the following into your ~/.caprc:

ssh_options[:forward_agent] = true

This stopped me getting prompted for a password by my subversion every time I ran ‘cap deploy’.

integrating wordpress into a ruby on rails site

Filed under: ruby on rails — Mike Bailey @ 1:51 pm on May 12, 2007
Copyright 2007 Mike Bailey. All Rights Reserved