After monkeying around with the makefiles, I managed to get lsh to
compile.  So much for the easy part, I'm now getting nowhere fast, and
don't even know which way I'm supposed to be going :-) Again, this is
trying to get lsh to work under FreeBSD (3.3 in this case).

~/lsh-0.1.20/src> ./lshd -p 4711 -h NEW_KEY --debug --trace -v
tcpforward_commands.c: make_direct_tcpip_hook()
tcpforward_commands.c: tcpip_forward_hook()
Entering lshd_listen
spki_read_hostkeys_command
Entering spki_read_hostkeys
spki_add_hostkey_command
Entering for_sexp
Leaving for_sexp, value of type catch_apply.
do_read_sexp
make_read_sexp_exception_handler
make_parse_loop
make_parse_advanced_sexp
io.c: Preparing fd 4 for reading
Garbage collecting while idle...
Objects alive: 93, garbage collected: 36

Here it sits, not listening to port 4711 according to netstat.  In fact,
according to netstat, there aren't any new ports in listen mode since
before I started the program.

Would someone mind sending me the output of what this is supposed to look
like?

Also, if I try to specify --no-tcp-forward, I get this instead.

~/lsh-0.1.20/src> ./lshd -p 4711 -h NEW_KEY --debug --no-tcp-forward --trace -v
assertion "LIST_LENGTH(body)" failed: file "command.c", line 354
Abort trap

Anyone seen that?

Reply via email to