Last active
September 21, 2016 10:15
-
-
Save Voronenko/9947a98fa8a19e6818b9a8048aa4ed1e to your computer and use it in GitHub Desktop.
DO NOT DO THIS ON PRODUCTION SYSTEM!!!
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
sudo nano /etc/ssh/sshd_config | |
Change | |
PermitRootLogin without-password | |
StrictModes yes | |
to set of | |
#PermitRootLogin without-password | |
PermitRootLogin yes | |
StrictModes no | |
If necessary, downgrade ciphers | |
Ciphers [email protected],[email protected],aes256-ctr,aes128-ctr | |
MACs [email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,hmac-sha1 | |
KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment