Capistrano - svn error - Permission denied (publickey)

I’m using capistrano to deploy the rails app on my new slicehost server.

It is running this command on the server

svn checkout -q -r2
svn+ssh://209.20.75.130/home/demo/repository/my_app/home/demo/public_html/myapp.com/releases/20080621224919
&& (echo 2 >
/home/demo/public_html/myapp.com/releases/20080621224919/REVISION)

and i get this error:

Permission denied (publickey)

It’s like it doesn’t have access to itself. What do I need to do here?

You need to make sure your target server can ssh to 209.20.75.130 via
a public key. If you log into your target server and ssh to that IP
address, do you get prompted for a password?

  • Jamis

Jamis B. wrote:

You need to make sure your target server can ssh to 209.20.75.130 via
a public key. If you log into your target server and ssh to that IP
address, do you get prompted for a password?

  • Jamis

That’s the thing…my target server is 209.20.75.130. My target server
and my subversion server are one in the same.

Jamis B. wrote:

Then you’ll need to make sure you can ssh to the server, from the
server, using your public key.

  • Jamis

ah…yeah…weird. I guess that make sense.

I’m really bad with public key stuff.

thanks

Then you’ll need to make sure you can ssh to the server, from the
server, using your public key.

  • Jamis