Skip to content

Instantly share code, notes, and snippets.

@pablocampina
Created November 16, 2016 16:04
Show Gist options
  • Save pablocampina/3b7c06ae6876d452405a3e1119e90895 to your computer and use it in GitHub Desktop.
Save pablocampina/3b7c06ae6876d452405a3e1119e90895 to your computer and use it in GitHub Desktop.
Solve ssh problems to user "ubuntu"
sudo chown -R username:username /home/username/.ssh
sudo chmod 0700 /home/username/.ssh
sudo chmod 0600 /home/username/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment