-
Check the current sshd status:
service sshd status
-
Start sshd service:
service sshd start
-
Set sshd autostart on system startup
chkconfig sshd on
-
List the current autostart status
chkconfig --list |grep sshd
Or use a simple interface:
# ntsysv
Verified on CentOS 6.4 x86_64.
2014-7-16: On CentOS 6.5 32bit:
# chkconfig NetworkManager off
# chkconfig network on
# chkconfig sshd on