Discussion:
OpenSSH/OpenSSL is too big... any alternatives?
Gonzalo Servat
2002-06-25 14:09:58 UTC
Permalink
Hi All

I have a 2MiB DiskOnChip. After installing the kernel, BusyBox, iptables
and a couple of libs from uClibc I only have 400k left of space.
OpenSSH needs to link to OpenSSL and OpenSSL is well over 1MB on it's
own. Is there any alternatives to OpenSSL/OpenSSH that will fit on 400k?

Thanks in advance!

Regards,

Gonzalo.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20020626/f56be353/attachment.bin
cfowler
2002-06-25 14:43:30 UTC
Permalink
I got the same problem but I'm running off floppy.
Post by Gonzalo Servat
Hi All
I have a 2MiB DiskOnChip. After installing the kernel, BusyBox, iptables
and a couple of libs from uClibc I only have 400k left of space.
OpenSSH needs to link to OpenSSL and OpenSSL is well over 1MB on it's
own. Is there any alternatives to OpenSSL/OpenSSH that will fit on 400k?
Thanks in advance!
Regards,
Gonzalo.
Paul Jimenez
2002-06-25 14:50:11 UTC
Permalink
You might look at LSH, a smaller implementation, linked to off
of the uclibc page ( http://www.uclibc.org/uClibc-apps.html )
as being http://www.net.lut.ac.uk/psst/ . No guarantees that it works..
it looks to be SSH v2 protocol, but not updated very recently.
My only connection with it is remembering that it existed on the above
uclibc page :) Have fun,

--pj
Post by cfowler
I got the same problem but I'm running off floppy.
Post by Gonzalo Servat
Hi All
I have a 2MiB DiskOnChip. After installing the kernel, BusyBox, iptables
and a couple of libs from uClibc I only have 400k left of space.
OpenSSH needs to link to OpenSSL and OpenSSL is well over 1MB on it's
own. Is there any alternatives to OpenSSL/OpenSSH that will fit on 400k?
Thanks in advance!
Regards,
Gonzalo.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Gonzalo Servat
2002-06-25 15:04:36 UTC
Permalink
I did have a look at LSH but I had other problems getting it to work so
I gave up on that one too :)

Now I'm down to using netkit
(ftp.uk.linux.org/pub/linux/Networking/netkit) but getting it to compile
vs uClibc is tricky. I still get errors to do with 'rpc'. I've decided
to just use telnet for the time being (until I can get a bigger DOC) but
even this task is looking doubtful :(

Has anyone had any success compiling netkit (inetd & telnet server)
against uClibc?

Thanks in advance!

Regards,
Gonzalo
Post by Paul Jimenez
You might look at LSH, a smaller implementation, linked to off
of the uclibc page ( http://www.uclibc.org/uClibc-apps.html )
as being http://www.net.lut.ac.uk/psst/ . No guarantees that it works..
it looks to be SSH v2 protocol, but not updated very recently.
My only connection with it is remembering that it existed on the above
uclibc page :) Have fun,
--pj
Post by cfowler
I got the same problem but I'm running off floppy.
Post by Gonzalo Servat
Hi All
I have a 2MiB DiskOnChip. After installing the kernel, BusyBox, iptables
and a couple of libs from uClibc I only have 400k left of space.
OpenSSH needs to link to OpenSSL and OpenSSL is well over 1MB on it's
own. Is there any alternatives to OpenSSL/OpenSSH that will fit on 400k?
Thanks in advance!
Regards,
Gonzalo.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20020626/6f95122f/attachment.bin
Robert Schwebel
2002-06-25 17:21:18 UTC
Permalink
Post by Gonzalo Servat
(ftp.uk.linux.org/pub/linux/Networking/netkit) but getting it to compile
vs uClibc is tricky. I still get errors to do with 'rpc'. I've decided
to just use telnet for the time being (until I can get a bigger DOC) but
even this task is looking doubtful :(
Has anyone had any success compiling netkit (inetd & telnet server)
against uClibc?
If telnet is enough for you you can use utelnetd

http://www.pengutronix.de/software/utelnetd_en.html

For LSH I'll have a look - be a little bit patient, I'm hopelessly flooded
with other work right now, but it's definitely in the pipeline.

Robert
--
+--------------------------------------------------------+
| Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de |
| Pengutronix - Linux Solutions for Science and Industry |
| Braunschweiger Str. 79, 31134 Hildesheim, Germany |
| Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |
+--------------------------------------------------------+
Russ Dill
2002-06-25 17:19:03 UTC
Permalink
Post by Gonzalo Servat
Hi All
I have a 2MiB DiskOnChip. After installing the kernel, BusyBox, iptables
and a couple of libs from uClibc I only have 400k left of space.
OpenSSH needs to link to OpenSSL and OpenSSL is well over 1MB on it's
own. Is there any alternatives to OpenSSL/OpenSSH that will fit on 400k?
I have:
uClibc
busybox
kernel
dnrd
iptables
vtun
thttpd
utelnetd
pppd+pppoe
udhcp
+ a bunch of other things I can't think of

it makes a 1.41M image, compile everything with uclibc, strip it
properly, and it works out
Loading...