Re: ssh key based authentication



On Mon, 23 Jan 2006 10:16:33 -0500, Madhu Ramachandran wrote:

> hello all,
> need some help/pointers on the problem iam having i have 3 solaris boxes
> say A,B,C
>
> i want to ssh from A to B and A to C without being prompted for password.
> So, i generated key in box A using
> ssh-keygen -t rsa -N ""
>
> so in ~user/.ssh dir i see id_rsa.pub. I ftp'ed this to machines B and C
> and put them in ~user/.ssh dir as files authorized_keys2
>
> now, login to machine A as user: user, and then ssh to machine C works,
> but fails onmachine B (it prompts for user B).
>
> dont see any diff in machine B and C, but somehow ssh (key based auth
> works only for C). how can i debug this? appreciate any tips
>
> ssh version:
> OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004

Check permissions for .ssh and auhorized_keys2 in B and C. If they are
not the right ones, the SSH daemon in those boxes might not make use of
the data in them.



.



Relevant Pages

  • [Summary]: SSH With Password Aging
    ... Subject: SSH With Password Aging ... We need to do perform some security configuration on our Solaris boxes ...
    (SunManagers)
  • SSH With Password Aging
    ... We need to do perform some security configuration on our Solaris boxes ... We access solaris through ssh, ...
    (SunManagers)
  • ssh key based authentication
    ... need some help/pointers on the problem iam having ... i have 3 solaris boxes say A,B,C ... i want to ssh from A to B and A to C without being prompted for password. ... fails onmachine B (it prompts for user B). ...
    (comp.security.ssh)
  • ssh timeout ?
    ... I have compiled ssh on various solaris boxes. ... where you get connection closed message quite quickly. ... I am running openssh 3.1 on solaris. ...
    (comp.security.ssh)
  • Re: Authentication failed!
    ... > can SSH into my Linux Box OK and it prompts me for my password. ... It looks like it is failing to validate your public key and is falling back to your ...
    (comp.security.ssh)