Keresztfalvi Gabor <[EMAIL PROTECTED]> writes:

> Life is not so nice... I have some problem with file transfer through
> remote execution (something like 'lsh -p 4711 localhost cat /vmlinuz' dies
> after 600KB). Unfortunately I have no time to track it down now... I'll
> try...

What does "die" mean here? Crash, disconnect, hang?

> BTW there's another problem:
> netwatcher:~/lsh/lsh-0.9.4/src#./lshd -v -p 4711 --root-login
> lshd: --root-login: (PROGRAM ERROR) Option should have been recognized!?
> Try `lshd --help' or `lshd --usage' for more information.
> What to do with this?

Ooops. It seems I forgot one detail of the implementation of that
option. Try this patch:

--- lshd.c      2000/03/14 21:02:18     1.84
+++ lshd.c      2000/04/11 10:07:46
@@ -387,6 +387,10 @@
     case OPT_NO_PUBLICKEY:
       self->with_publickey = 0;
       break;
+
+    case OPT_ROOT_LOGIN:
+      self->allow_root = 1;
+      break;

 #if WITH_TCP_FORWARD
     case OPT_TCPIP_FORWARD:

/Niels

Reply via email to