Have a look at
chkconfig (
15.5. chkconfig)
This should work:
To check:
Code:
chkconfig sshd --list
To turn back on:
The above enables/disables the startup at boot, the
service command starts/checks/stops the sshd service:
Code:
service sshd start
service sshd status
service sshd stop