sudo gainroot rm /etc/init.d/ssh exit
sudo gainroot /etc/init.d/ssh stop exit
update-rc.d ssh remove
initctl stop sshd
initctl start sshd
initctl stop sshd
initctl start sshd
#start on stopped rcS
console output
#respawn
pre-start script
if [ ! -d /var/run/sshd ] ; then
mkdir /var/run/sshd
chmod 755 /var/run/sshd
fi
end script
exec /usr/sbin/sshd -D
| The Following 2 Users Say Thank You to gmacchi For This Useful Post: | ||