--- 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/10/12 08:22:45 1.3 @@ -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