#!/bin/sh setglobal KEYS = $[find /etc/ssh -name 'ssh_host_*_key] test -z $KEYS && ssh-keygen -A >/dev/null !2 >/dev/null exec /usr/sbin/sshd -D -e