void-packages/srcpkgs/openssh/files/sshd/run

6 lines
156 B
Bash
Executable File

#!/bin/sh
exec 2>&1
ssh-keygen -A >/dev/null 2>&1 # Will generate host keys if they don't already exist
[ -r conf ] && . ./conf
exec /usr/bin/sshd -D $OPTS