Ssh with public key authentication
Sweetman, David E RDECOM CIO
david.sweetman at us.army.mil
Wed Sep 13 17:18:37 UTC 2006
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Mike Burger
> Sent: Wednesday, September 13, 2006 1:00 PM
> To: General Red Hat Linux discussion list
> Subject: RE: Ssh with public key authentication
>
> >> -----Original Message-----
> >> From: redhat-list-bounces at redhat.com
> >> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Mike Burger
> >> Sent: Wednesday, September 13, 2006 10:51 AM
> >> To: General Red Hat Linux discussion list
> >> Subject: Re: Ssh with public key authentication
> >>
> >>
> >> > I am trying to set up ssh public key authentication
> between several
> >> > RHEL machines. I can successfully connect from machine1
> (AS4) to
> >> > other machines (WS4, release 9) using public key ( no password
> >> > entered). But I have not
> >> > been able to connect to machine1 using public key. I
> >> have gone thru
> >> > the
> >> > steps several times with no success. Any suggestions on
> >> what to do or
> >> > how to get better information than from the -v option (
> -vvv is the
> >> > best I've gotten so far) ?
> >>
> >> Have you added the public key for the other systems to the
> >> .ssh/authorized_keys file on system1?
> >
> > I have added the public keys to authorized_keys on machine1.
> > On all machines:
> >
> > chmod 755 ~/.ssh
> > chmod 600 ~/.ssh/authorized_keys
>
> Permissions are too open on the directory.
>
> Try, instead, "chmod 700 ~/.ssh"
>
I chmod ed to 700 and still no success.
More information about the redhat-list
mailing list