2009/6/23 Peter Boosten <pe...@boosten.org>:
>
>
> On 23 jun 2009, at 16:06, Daniel Underwood <djuatde...@gmail.com> wrote:
>
>> Looking at my ~/.ssh directory, I see the following permissions:
>>
>> -rw-r--r--
>>
>> Which I understand to be equivalent to 644.
>>
>> I read here <http://sial.org/howto/openssh/publickey-auth/> that
>> ~/.ssh ought to have permissions 700.
>>
>> Which is preferable, and why?
>> __
>
> 700, you private key(s) go in there.
>

Interesting, I never noticed the 700 permissions on .ssh...

[ch...@amnesiac]~% ls -ld .ssh
drwx------  2 chris  chris  512 Nov 22  2008 .ssh/
[ch...@amnesiac]~% ls -l .ssh
total 18
-rw-r--r--  1 chris  chris  3281 Jan  8 21:21 authorized_keys
-rw-------  1 chris  chris  1675 Oct  1  2008 id_rsa
-rw-r--r--  1 chris  chris   409 Oct  1  2008 id_rsa.pub
-rw-r--r--  1 chris  chris  8379 Jun 11 22:01 known_hosts
[ch...@amnesiac]~%


Although I think it's not a big deal, as long as your id_?sa has
permissions 600 like mine, or even 400.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to