Created
April 27, 2017 22:04
-
-
Save anfernee/ab2e8d6842ff01a2c9e5e91459d80d19 to your computer and use it in GitHub Desktop.
enable_root_ssh
This file contains hidden or 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
| sed -i 's/^PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config | |
| systemctl restart sshd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment