Skip to content

Instantly share code, notes, and snippets.

@vanities
Created August 20, 2017 18:24
Show Gist options
  • Save vanities/af46a1b0aa2b2ff74eae84ee12df2d00 to your computer and use it in GitHub Desktop.
Save vanities/af46a1b0aa2b2ff74eae84ee12df2d00 to your computer and use it in GitHub Desktop.
disable password for root login ssh
sudo nano /etc/ssh/sshd_config
PermitRootLogin without-password
reload ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment