2007-12-19 / 15:33 / dave

I launch my ssh enabled shell on demand, but if you are comfortable leaving it open (or using ssh-add -x to manually lock your ssh keys) add this to your startup file (.bash_profile or whatever):

eval `ssh-agent -s`; ssh-add

You’ll need to enter your password when you start the shell, but afterwards you’ve got all the password-less ssh goodness you can stand.