January 23, 2016

Authentication refused: bad ownership or modes for directory

login to remote ssh machine you are not being able to connect via key authorisation

and apply

chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

restart remote ssh server

you are done

No comments:

Post a Comment

How to type letters with accent

Very useful article https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/