Well, this in't really too small, but with selective configuration and
stripping the binary, I got OpenSSH daemon down to 199060 bytes. However,
it still requires some dynamic libs:
libz.so.1
libnsl.so.1
libutil.so.1
libcrypto.so.0
libcrypt.so.1
libc.so.6
/lib/ld-linux.so.2
Of these, libcrypto.so.0 and libz.so.1 are (in the system I built) used
only by ssh. Sizewise , since my target was 8 MB flash, I didn't do much
except strip the existing libs from OpenSSL:
libcrypto.so.0.9.5 899101 Bytes
libz.so.1.1.3 62999 Bytes
I was able to include sshd, dhcpd, pump, pppd+PopTop, filtering
(iptables), and a complete SysV-like initialization (and RedHat - style
/etc/sysconfig config files) , as well as a pretty complete command line
environment (BusyBox / Tinylogin) with a good bit of room to
spare. Never-the-less, I think this approach isn't appropriate
for a single-floppy solution. Given the cryptographic libs needed for ssh,
I do wonder if it's all doable for a single floppy. - Good luck Though.
George
On Sat, 16 Jun 2001, Robert Schwebel wrote:
16 Jun 2001 14:08:08 +0200 (CEST)
Schwebel <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
Subject: Small ssh daemon?
>
> Hi,
>
> does anyone know of a small sshd? I need something like that for a one
> disk embedded systems distribution.
>
> Robert
>
--
George Fouse, President <[EMAIL PROTECTED]>
Quantum Technology Associates
www.quantumtek.net
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.