CVS -rdreambox
ZitatAlles anzeigen/usr/bin/install -c -m 644 sftp.1.out /home/slightly/tuxbox-dream/root/cdkroot/man/man1/sftp.1
/usr/bin/install -c -m 644 sftp-server.8.out /home/slightly/tuxbox-dream/root/cdkroot/man/man8/sftp-server.8
/usr/bin/install -c -m 644 ssh-keysign.8.out /home/slightly/tuxbox-dream/root/cdkroot/man/man8/ssh-keysign.8
rm -f /home/slightly/tuxbox-dream/root/cdkroot/bin/slogin
ln -s ./ssh /home/slightly/tuxbox-dream/root/cdkroot/bin/slogin
rm -f /home/slightly/tuxbox-dream/root/cdkroot/man/man1/slogin.1
ln -s ./ssh.1 /home/slightly/tuxbox-dream/root/cdkroot/man/man1/slogin.1
if [ ! -d /home/slightly/tuxbox-dream/root/cdkroot/etc/ssh ]; then \
./mkinstalldirs /home/slightly/tuxbox-dream/root/cdkroot/etc/ssh; \
fi
if [ -f /home/slightly/tuxbox-dream/root/cdkroot/etc/ssh/ssh_host_dsa_key ] ; then \
echo "/home/slightly/tuxbox-dream/root/cdkroot/etc/ssh/ssh_host_dsa_key already exists, skipping." ; \
else \
ssh-keygen -t dsa -f /home/slightly/tuxbox-dream/root/cdkroot/etc/ssh/ssh_host_dsa_key -N "" -b 2048 ; \
fi
DSA keys must be 1024 bits
make[1]: *** [host-key] Fehler 255
make[1]: Leaving directory `/home/slightly/tuxbox-dream/cdk/openssh-3.5p1'
make: *** [.ssh] Fehler 2
wäre Nett wenn jemand
cdk/Patches/ssh.diff
ZitatAlles anzeigen
+ if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
+ else \
+ ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" -b 2048 ; \
+ fi
+ if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
+ else \
+ ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" -b 2048 ; \
+ fi
ersetzten könnte durch
ZitatAlles anzeigen
+ if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
+ else \
+ ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" -b 1024 ; \
+ fi
+ if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
+ else \
+ ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" -b 2048 ; \
+ fi