"Eric J. Schwertfeger" <[EMAIL PROTECTED]> writes:
> Ack. I've been far too busy, hadn't noticed that release. Oh, is lsh
> available by ftp somewhere? I missed this snapshot because the web page
> doesn't show file dates, and I was looking for 0.1.21. At least with ftp I
> could "ls -ltr".
Sure. ftp://ftp.lysator.liu.se/pub/security/lsh
> Just tried 000.2, and while it fixes the lib problem and socken_t problem,
> it introduces a new one.
>
> gmake[3]: *** No rule to make target `argp-ba.o', needed by `liblsh.a'.
> Stop.
>
> For some reason that I don't have time to research (three more minutes of
> lunch left), none of the argp*.o files are being found in src/argp, though
> the compile completes if I copy them up one directory level.
Ooops. Try editing configure.in so that it contains
if test x$with_system_argp = xno ; then
LIBOBJS="$LIBOBJS argp/argp-ba.o argp/argp-fmtstream.o \
argp/argp-help.o argp/argp-parse.o argp/argp-pin.o argp/argp-pv.o \
argp/argp-pvh.o argp/argp-eexst.o"
I had forgotten the "argp/" part of those paths.
> As an initial solution to the pty problem, Baz posted a patch to
> configure.in that seems to work. I've created the resulting configure by
> hand (I don't have the autoconf tools and such installed), and it gets
> around the /bin/sh bug nicely, and shouldn't cause problems anywhere else.
> If his solution to poll isn't accepted, I can patch the code to use
> POLLRDNORM as part of the port make script.
I didn't see Bazsi solution until today. I think I addressed it in a
previous message.
> Speaking of rolling a port, aside from this mailing list, what
> documentation is available for lsh? Not everyone that can handle
>
> su
> cd /usr/ports/security/lsh
> make install
The install target installs the binaries, but not much more. You need
to run lsh_keygen | lsh_writekey /etc/lsh_host_key to install the host
key. Users's .lsh directories should be created automatically when
needed, although I haven't tested that much.
You also need to start lshd at boot. A sysv-like init script (for
RedHat linux boxes) is in the contrib directory. Perhaps that can give
you some ideas.
> is going to deal well with having to go to the mailling list for how to
> set up lsh to be useful. I haven't seen anything describing how to set up
> the .lsh directory within the snapshots or to set up host authentication.
> I know that lsh is under development so hasn't been documented, but I
> think lsh is usable enough now.
I've started at a manual, but it doesn't answer any of your
questions yet. You can have a look at
http://www.lysator.liu.se/~nisse/lsh/doc/lsh.texinfo . The man pages
in the same directory were written by Ray some time ago, and are
somewhat out of date.
/Niels