1 # hdw-linux ssh extensions
7 # [D] openssh-3.8p1.tar.gz ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
9 flist_pruned="${flist_pruned}|etc/shadow|etc/passwd|etc/group"
14 echo "adding user sshd ..."
15 [ -z "`cat $root/etc/passwd | grep sshd`" ] && useradd sshd
19 confopt="$confopt --with-md5-passwords --without-pam --with-tcp-wrappers \
20 --disable-suid-ssh --with-xauth=/usr/X11R6/bin/xauth \
21 --sysconfdir=$root/etc/ssh"
23 install_conf="$install_conf install-nokeys"
27 echo "creating ssh host keys ..."
28 [ ! -f $root/etc/ssh_host_dsa_key ] && \
29 $root/usr/bin/ssh-keygen -d -b 1024 -f $root//etc/ssh_host_dsa_key -N ""
30 [ ! -f $root/etc/ssh_host_key ] && \
31 $root/usr/bin/ssh-keygen -d -b 1024 -f $root/etc/ssh_host_key -N ""