Created
September 14, 2011 17:00
-
-
Save behrendtio/1217098 to your computer and use it in GitHub Desktop.
Amazon EC2 Root login
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 cp -rv /home/ec2-user/.ssh /root/ | |
# /etc/ssh/sshd_config | |
# Change | |
PermitRootLogin forced-commands-only | |
# To | |
PermitRootLogin yes | |
sudo service sshd reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment