Last active
December 20, 2015 12:29
-
-
Save alcir/6131703 to your computer and use it in GitHub Desktop.
smartos put PermitRootLogin yes and restart sshd
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
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config ; svcadm restart ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment