Fixing Authentication refused: bad ownership or modes for directory

来源:互联网 发布:怎么查看淘宝一年消费 编辑:程序博客网 时间:2024/05/16 05:46

Fixing Authentication refused: bad ownership or modes for directory

From HowToGeek

Jump to: navigation, search

If you get this error in your logs when trying to setup public key authenticated automatic logins, the problem is a permissions one.

You'll need to perform the following commands on the user account you are trying to setup:

chmod go-w ~/chmod 700 ~/.sshchmod 600 ~/.ssh/authorized_keys
原创粉丝点击