Hi,
I've more or less completed publickey support in lshd and lsh. To use this
apply the following patch, or alternatively download my patched version
from:
http://www.balabit.hu/downloads/lsh/lsh-0.1.15-bazsi.tar.gz
To use publickey authentication you need:
1) create a keypair using lsh_keygen | lsh_writekey
2) create a directory ~/.lsh/authorized_keys_md5
3) find out the md5 sum of your public key:
cat ~/.lsh/identity.pub | sexp_conv -i transport -o canonical | md5sum
4) touch a file named the md5sum of your public key into existence under
~/.lsh/authorized_keys_md5
The following interoperability combinations are tested:
lshd server, lsh client
lshd server, ssh2 client
sshd2 server and lsh client is not tested, but theoretically it should work.
Have fun,
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
url: http://www.balabit.hu/pgpkey.txt
lsh-0.1.14-bazsi-3.diff.gz