view MULTI @ 958:1bf92da7a2a0

Try without identifying current user Small change that warns the user if the current user cannot be identified rather than aborting. This came in handy when I put dropbear on a dlink that did not have a true user environment. Falling back on the "-l" option and user@ options works just fine as a client. The only implication I found is that the -J option will fail ungracefully without a known own_user.
author iquaba <cooka2011@gmail.com>
date Wed, 06 Aug 2014 08:48:43 -0500
parents 93e04b9ff676
children
line wrap: on
line source

Multi-binary compilation
========================

To compile for systems without much space (floppy distributions etc), you
can create a single binary. This will save disk space by avoiding repeated
code between the various parts.
If you are familiar with "busybox", it's the same principle.

To compile the multi-binary, first "make clean" (if you've compiled
previously), then

make PROGRAMS="programs you want here" MULTI=1

To use the binary, symlink it from the desired executable:

ln -s dropbearmulti dropbear
ln -s dropbearmulti dbclient
etc

then execute as normal:

./dropbear <options here>