Python bindings for lsh (lshg)?

Kyler Laird Kyler at
Wed Mar 10 18:09:44 CET 2004

I just learned of the gateway mode that lsh (GNU's ssh client) provides.

I've had a need for reuse of SSH sessions that I originally solved with a
horrible hack to ssh code.  Recently I've been trying to use Twisted Conch
to accomplish the same thing.  I still like this pure Python approach 
(although it's going to take me a long time to understand Twisted) but I
think that leaving the connection to lsh and just doing channel-specific
handling through Python is a good fit.

So...I'm trying to decide how to attack this.  I suspect I'll need to
piece together lshg (the gateway client) code with Python (using Pyrex?)
on my own, but I'll be thrilled to hear that someone else has already
done the work.  (I'm not finding it in searches.)

Thank you.


More information about the Python-list mailing list