Ssh with public key authentication

Mike Burger mburger at bubbanfriends.org
Wed Sep 13 17:00:23 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 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"

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:

site-update-request at bubbanfriends.org

with a message of:

subscribe




More information about the redhat-list mailing list