Skip to content

Instantly share code, notes, and snippets.

@Revisto
Last active June 25, 2020 12:47
Show Gist options
  • Save Revisto/e8ddce29c4d2217ae3e7222caa1e6941 to your computer and use it in GitHub Desktop.
Save Revisto/e8ddce29c4d2217ae3e7222caa1e6941 to your computer and use it in GitHub Desktop.
path for PermitRootLogin:
/etc/ssh/sshd_config
Restart it:
systemctl restart sshd
service sshd restart
/etc/init.d/ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment