Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Last active September 21, 2016 10:15
Show Gist options
  • Save Voronenko/9947a98fa8a19e6818b9a8048aa4ed1e to your computer and use it in GitHub Desktop.
Save Voronenko/9947a98fa8a19e6818b9a8048aa4ed1e to your computer and use it in GitHub Desktop.
DO NOT DO THIS ON PRODUCTION SYSTEM!!!
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