Skip to content

Instantly share code, notes, and snippets.

@anfernee
Created April 27, 2017 22:04
Show Gist options
  • Select an option

  • Save anfernee/ab2e8d6842ff01a2c9e5e91459d80d19 to your computer and use it in GitHub Desktop.

Select an option

Save anfernee/ab2e8d6842ff01a2c9e5e91459d80d19 to your computer and use it in GitHub Desktop.
enable_root_ssh
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