start on pld.network-started and started SERVICE_syslog=y and started random stop on pld.shutdown-started respawn oom -16 console output script . /etc/rc.d/init.d/functions . /etc/sysconfig/network if [ ! -s /etc/ssh/ssh_host_key ] ; then /etc/rc.d/init.d/sshd init fi if is_yes "$IPV4_NETWORKING" && is_no "$IPV6_NETWORKING"; then OPTIONS="$OPTIONS -4" fi if is_yes "$IPV6_NETWORKING" && is_no "$IPV4_NETWORKING"; then OPTIONS="$OPTIONS -6" fi exec /usr/sbin/sshd -D $OPTIONS end script