Jonathan,

Thanks for the reply. I tried SSH from the Webistrano machine using
the "runner" user where there's a valid RSA1 private/public key
present in ~/.ssh. And on the remote side of the server I'm deploying
to, the contents of the public key are in the ~/.ssh/authorized_keys
file which permissions on that file are 600 (the .ssh directory itself
is 700) per the docs.

Seems like it's finding my private/public key, but now I'm getting a
ssh_exchange_identification read error:

OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug2: ssh_connect: needpriv 0
debug1: Connecting to 172.31.13.50 [172.31.13.50] port 22.
debug1: Connection established.
debug1: identity file /home/pfland/.ssh/identity type 0
debug1: identity file /home/pfland/.ssh/id_rsa type -1
debug1: identity file /home/pfland/.ssh/id_dsa type -1
ssh_exchange_identification: read: Connection reset by peer

Contents of my ~/.ssh directory are:

[EMAIL PROTECTED] .ssh]$ ls -l
total 12
-rw-------  1 pfland pfland 576 Aug 28 10:01 authorized_keys
-rw-------  1 pfland pfland 542 Aug 28 09:47 identity
-rw-------  1 pfland pfland 346 Aug 28 09:47 identity.pub

And on the remote side, the following:

[EMAIL PROTECTED] .ssh]$ ls -l
total 8
-rw-------  1 pfland pfland 576 Aug 28 09:48 authorized_keys

authorized_keys on the remote side contains the contents of the
identity.pub.

Any ideas?

Thanks,
Andy

On Aug 27, 7:40 am, Jonathan Weiss <[EMAIL PROTECTED]> wrote:
> andypflueger wrote:
> > I've been banging my head against my cubicle wall all day trying to
> > getWebistranoconfigured to help manage our Rails app deployment.
> > We're using ssh publickeyauthentication rather than password
> > authentication. I've setup the hosts, project, and stages in our
> >Webistranodatabase and also added the ssh_keys config parameter to
> > the proejct pointing to myprivatekeyfile (/home/user/.ssh/id_rsa).
> > The permissions on thiskeyfile are 644 so I don't believe my issue
> > is permissions. Then again, I'm not sure what's going on.
>
> It could be that you have too open permissions. SSH doesn't like it when
> the keys are readable by everyone.
>
> Have you tried the SSH login as theWebistranouser by hand?
>
> What is SSH saying there?
>
> Jonathan
>
> --
> Jonathan Weisshttp://blog.innerewut.dehttp://twitter.com/jweiss

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to