Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hmain/82a7731c9145894e83290fc09ee6c3c0 to your computer and use it in GitHub Desktop.

Select an option

Save hmain/82a7731c9145894e83290fc09ee6c3c0 to your computer and use it in GitHub Desktop.
chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
@hmain
Copy link
Author

hmain commented Jun 22, 2020

You might have to do this if you get
Authentication refused: bad ownership or modes for directory /home/username

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment