域名所有权验证
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 ~/.ssh chmod 600 ~/.ssh/authorized_keys
chmod go-w ~/ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
翻译自: https://www.howtogeek.com/168156/fixing-authentication-refused-bad-ownership-or-modes-for-directory/
域名所有权验证