--- elwix/config/etc/default/rc.d/022.sshd.run 2011/10/18 09:02:07 1.2 +++ elwix/config/etc/default/rc.d/022.sshd.run 2012/02/23 09:39:38 1.2.4.2 @@ -41,6 +41,8 @@ sshd_keygen() ) } +[ ! -x /usr/sbin/sshd ] && exit + if [ ! -f /etc/ssh/ssh_host_key -o \ ! -f /etc/ssh/ssh_host_dsa_key -o \ ! -f /etc/ssh/ssh_host_rsa_key ]; then