SSH and ROOT Tips

in cn •  5 months ago


Change SSH Port

  • vim /etc/ssh/sshd_config
  • Port xxxx
  • /etc/init.d/ssh restart

Create Normal User

  • adduser username (steps one by one)
  • useradd username (no HOME, no password, no shell)

Disable ROOT SSH

  • vim /etc/ssh/sshd_config
  • PermitRootLogin no
  • /etc/init.d/ssh restart

Vote @bobdos as Witness of STEEM (via SteemConnect)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!