Created
November 16, 2016 16:04
-
-
Save pablocampina/3b7c06ae6876d452405a3e1119e90895 to your computer and use it in GitHub Desktop.
Solve ssh problems to user "ubuntu"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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