Gitosis and Capistrano 2.5

I'm having trouble getting capistrano setup. The issue is that my repository uses git and is managed by Gitosis. I followed the instructions over at: to get gitosis setup. The git user has a disabled password and uses a minimal shell.. not sure if that has anything to do with it.

The line in my deploy.rb is:
set :repository, "git@example.com:foo.git"

I'm asked for my passphrase twice. The first time it's ok and the second time I get an error:

[example.com] executing command
** [example.com :: err] Permission denied (publickey).
** [example.com :: err] fatal: The remote end hung up unexpectedly
** [example.com :: err] fetch-pack from 'git@example.com:foo.git' failed.

I can manually clone the repo by entering my passphrase so I'm a bit stumped as to the problem. Can anyone help me?




More Stories in Slicehost Forum

    Other Feedables