Tuesday, December 11, 2012

How to start sshd service in linux during server bootup

Hi All,

This may be trivial but believe it to be useful too. This post explains how to start sshd service in Linux OS during server bootup so that there is no need to start sshd service explicitly.

  1. Login as root user.
  2. chkconfig --level 2345 sshd on
  3. service sshd restart
  4. chkconfig sshd --list
  5. service sshd status
  6. Reboot Linux OS.
  7. Run the command service sshd status and verify if the sshd is running.
Hope this helps.