Re: ssh without password?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Saturday 23 February 2008 03:27:01 pm Mike Burger wrote:
>
>> > Thanks very much.
>> >
>> > On looking at /var/log/secure on machine B I read:
>> > -----------------------------
>> > Feb 23 12:47:19 blanche sshd[18050]: Authentication refused: bad
>> > ownership or modes for file /home/tim/.ssh/authorized_keys
>> > Feb 23 12:47:22 blanche sshd[18050]: Accepted password for tim from
>> > 192.168.2.1 port 41431 ssh2
>> > -----------------------------
>> >
>> > When I looked at .ssh/authorized_keys I saw that it had mode 664
>> > (ie with group write permission).
>> > After changing this to mode 644, I am able to login without password.
>>
>> Usually, permissions of 600 or 700 will do...644 makes the file world
>> readable, and that's not necessarily a good thing...however, it looks
>> like
>> you're back where you need to be.
>>
>> Out of curiosity, what were the permissions on the file before you ran
>> th
>> chmod command?
>
> As I mentioned, the mode was 664,
> ie the error was to have group write permission.

So you did...that'll teach me to read next time, eh?


-- 
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:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe@xxxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux