Forum: Rails deployment capistrano - svn error - Permission denied (publickey)

Posted by Jimmy Palmer (jimmypalmer)
on 2008-06-22 01:19
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?
Posted by Jamis Buck (jamis)
on 2008-06-22 23:09
(Received via mailing list)
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
Posted by Jimmy Palmer (jimmypalmer)
on 2008-06-22 23:32
Jamis Buck 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.

Posted by Jamis Buck (jamis)
on 2008-06-22 23:40
(Received via mailing list)
Then you'll need to make sure you can ssh to the server, from the
server, using your public key.

- Jamis
Posted by Jimmy Palmer (jimmypalmer)
on 2008-06-22 23:45
Jamis Buck 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.