Skip to content

Instantly share code, notes, and snippets.

@toidang92
Created March 15, 2016 15:11
Show Gist options
  • Save toidang92/a91547c01deffd1566ed to your computer and use it in GitHub Desktop.
Save toidang92/a91547c01deffd1566ed to your computer and use it in GitHub Desktop.
chmod 700 .ssh
sudo chmod 640 authorized_keys
sudo chown username .ssh
sudo chown username .ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment