21 - Make SSHD start at boot time

  • To start the sshd daemon, type the following at a shell prompt:
  •  service sshd start
  • If you want the daemon to start automatically at the boot time, type:
  • chkconfig sshd on

    This will enable the service for all runlevels.

  • To stop the running sshd daemon, use the following command:
  • service sshd stop