Why umask 0002?
I am wondering why the default umask
is 0002
. When I just created a ~/.ssh/authorized_keys
file, it was created -rw-rw-r--
such that sshd
ignored it out of reasonable security considerations.
I am wondering why the default umask
is 0002
. When I just created a ~/.ssh/authorized_keys
file, it was created -rw-rw-r--
such that sshd
ignored it out of reasonable security considerations.
Asked: 2013-12-29 13:29:04 +0300
Seen: 327 times
Last updated: Dec 29 '13
You can change the file rights even uncommnent the /etc/ssh/sshd_conf (AuthorizedKeysFile), you will be promted for the user password... No idea for the reason,...
manu007 ( 2013-12-29 13:59:55 +0300 )editthat's why I use
Kontio ( 2013-12-29 14:29:15 +0300 )editssh-copy-id
to push my keys to the device, that handles the permissions of~/.ssh/authorized_keys
My problem was with the folder itself, changed to 600 and now it work perfectly, many thanks.
manu007 ( 2013-12-29 14:56:15 +0300 )editJanuary 2019 calendar printable February 2019 calendar printableMarch 2019 Calendar printable April 2019 Calendar printable June 2019 Calendar printable
pale738821 ( 2018-05-28 14:15:10 +0300 )edit