#
# chkconfig: 345 55 45
#
-# description: sshd (secure shell daemon) is a server part of the ssh suite.
-# Ssh can be used for remote login, remote file copying, TCP port
+# description: sshd (secure shell daemon) is a server part of the ssh suite. \
+# Ssh can be used for remote login, remote file copying, TCP port \
# forwarding etc. Ssh offers strong encryption and authentication.
# Get network config
. /etc/sysconfig/network
+SERVICE_LIMITS="-u unlimited -Sc 0"
+
# Get service config
[ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
# Check if the service is already running?
if [ ! -f /var/lock/subsys/sshd ]; then
msg_starting OpenSSH
- ULIMIT_C="-S -c 0"
daemon /usr/sbin/sshd
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd