SSH and ROOT Tips

bobdos(59)
Published in
#cn
Words
45
Reading
1 min
Listen
Play
8y

bitcoin-hacker.png

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)

SSH and ROOT Tips | Ecency