Having gotten lsh for login, fairly stable, I thought I'd try
remote commands, and basic ones work fine. However, lacking lcp (I'm
thinking of hacking one up in perl), I tried the following command:
lsh geekazoid.com "cat >lsh-port.tgz" <lsh-port.tgz
Doing the same thing with rsh, if it were allowed, would work, but in this
case, I get no error message, just "User authentication successful." and
a few seconds later, I get my shell prompt back, and lsh-port.tgz is a
0-length file.
Trying the reverse,
lsh geekazoid.com "cat bbb.data.gz" >bbb.data.gz
Almost works, but the file is truncated. On the other hand,
lsh geekazoid.com "cat bbb.data.gz;sleep 15" >bbb.data.gz
worked fine. It looks like lsh isn't flushing some buffers before packing
up and closing down, which could also explain the first problem, since the
file was only 2789 bytes. Hmm, doesn't quite explain the first, unless
cat is getting killed before it's had the chance to flush the data to
disk.
Is this working for other people, or does it not work yet (as expected?).
The reason I ask is because almost every problem I've found so far like
this has been specific to my setup.