Skip to content

Instantly share code, notes, and snippets.

@ntnyq
Last active September 6, 2019 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntnyq/c5e87acd7f0bb9873920155315336386 to your computer and use it in GitHub Desktop.
Save ntnyq/c5e87acd7f0bb9873920155315336386 to your computer and use it in GitHub Desktop.
[About VPS] #VPS
# Prodution no root login via ssh
vi /etc/ssh/sshd_config
PermitRootLogin no # change yes to no
service sshd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment