pkgsrc/security/ssh6/files/sshd.sh
itojun 394061aa31 split security/ssh and security/ssh6.
security/ssh6: IPv4/v6 ready, socks unavailable, kerberos available (not tested)
security/ssh: IPv4 onlyready, socks available, kerberos available (not tested)

should be integrated into one whenever socks support becomes aware of
getaddrinfo/getnameinfo.  two directories with tons of patches/patch-* is
a maintenance headache.
2000-03-20 02:25:29 +00:00

14 lines
296 B
Bash

#!/bin/sh
#
# $NetBSD: sshd.sh,v 1.1 2000/03/20 02:25:32 itojun Exp $
#
if [ ! -f @SSH_CONF_DIR@/ssh_host_key ]
then
@PREFIX@/bin/ssh-keygen -f @SSH_CONF_DIR@/ssh_host_key -N ''
fi
if [ -x @PREFIX@/sbin/sshd -a -f @SSH_CONF_DIR@/sshd_config ]
then
@PREFIX@/sbin/sshd
echo -n ' sshd'
fi
exit 0