April 26, 2019

Securing Your Asterisk Server, Part 2 - page 3

Locking Down OpenSSH

  • July 26, 2006
  • By Carla Schroder

If you're wondering why you can't just sit down at your Asterisk server to do all your command-line chores, the answer is you can. So, if you don't need SSH access, you should turn it off entirely. Use the chkconfig command to do this:

# /sbin/chkconfig --del sshd

This doesn't turn off a running SSH session, but only prevents it from starting up at boot, so you need to shut it down:

# /etc/init.d/sshd stop

Most Popular LinuxPlanet Stories