Karl Peters <[EMAIL PROTECTED]> writes: > But my only problem ia, that lshd is too big for my "embedded" system. > Exactly I have 2.3M for lshd and 268k for libgmp. Is this "normal"?
That's pretty much. On my system, both lsh and lshd (dynamically linked to glibc, and stripped) are about 350K. > What smaller (secure) alternative do I have, to have a secure remote login? First, figure out why your binaries are so much larger than mine. The Makefile doesn't strip binaries automatically, although there's a target install-strip that strips binaries at installation time. If lshd is the only program on the system that uses gmp, you may be able to save some space by linking statically with gmp, as most of the routines in gmp are not used by lshd. > Can I do something to size optimize lsh? If it's still too large after the above advice, try to get a symbol map out f the linker, look for files or functions that are linked in although they're not really needed, like the tcp forwarding functions. Regards, /Niels