雜記
星期四, 3月 29, 2012
authorized_keys permission on CentOS
The permission of
~/.ssh/authorized_keys
must be set to
600
or
640
to let ssh login without password(with key) work.
Because /var/log/secure shows
sshd: Authentication refused: bad ownership or modes for file home/user/.ssh/authorized_keys
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言