@@ -24,13 +23,12 @@
@-groupadd sshd
@-useradd -c sshd -d /var/lib/sshd -g sshd -s /bin/false sshd
@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
- @if [ ! -f /usr/bin/ssh ] ; then hostname $(HOSTNAME) && tar xzvf $(FILE) && cd $(DIR) && \
+ @if [ ! -f /usr/bin/ssh ] ; then tar xzvf $(FILE) && cd $(DIR) && \
sed -i "s:-lcrypto:/usr/lib/libcrypto.a:g" configure && \
./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/sbin --with-md5-passwords \
--with-privsep-path=/var/lib/sshd && \
- make -j3 && make install ; fi
+ make -j3 && make install-nokeys ; fi
@make clean
- @hostname $(HOSTORIG)
Also, in my experience, during the install of OpenSSH, keys are generated (which is why I did that whole mess with the hostname). Are we not going to try to either prevent it from making the keys, or remove the keys it does make?
-- Jeremy Huntwork -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
