NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] SSH keys: what am I doing wrong?

Raj Shekhar rajlist at rajshekhar.net
Tue Aug 9 23:30:36 EDT 2005


David Mintz wrote:

> The id_rsa and id_rsa.pub files where created with ssh-keygen back in
> April. There's another box called interps2 where I have my .ssh with that
> very same id_rsa.pub appended to my authorized_keys; passwordless SSH
> logins work fine from my desktop to that machine. I can also
> passwordlessly SSH into all the other machines to which I've copied my
> public key; that is, nothing has changed except with this interps1.

Do not keep it password-less - do have a look at ssh-agent
http://www.securityfocus.com/infocus/1812

> 
> So I started over from scratch with my .ssh directory on interps1, that
> is, I appended my id_rsa.pub (from my desktop) to .ssh/authorized_keys (on
> interps1) and tried again to ssh. Still I get prompted for password. I
> tried it with -v for verbosity and it doesn't seem to tell me anything I
> don't already know (i.e., it ain't working).

Have a look at /var/log/messages on both the machines when you ssh.
That should give you more hints.

-- 
Raj Shekhar		           Y!IM : lunatech3007
blog : http://rajshekhar.net/blog  home : http://rajshekhar.net
Disclaimer : http://rajshekhar.net/disclaimer



More information about the talk mailing list