[Twisted-Python] AMP + SSH?

Nathan nathan.stocks at gmail.com
Thu Mar 6 18:05:38 EST 2008


On Thu, Mar 6, 2008 at 3:19 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>  You can run any IProtocol over conch.  It's just not very easy or well
>  documented.  Take a look at doc/conch/examples/sshsimpleclient.py for
>  the first part of what's necessary (setting up a client connection and
>  opening some channels).  sshsimpleserver.py in the same directory will
>  show you how to run a custom protocol on the server in a /shell/.  You
>  may not want to use a shell, though.
>
>  There are plans to make a much simpler API for setting up SSH connections
>  intended for programmatic (as opposed to interactive shell) use, but it
>  will likely be some time before they come to fruition.

Ok, thanks for the info.  It looks like the "manual" method will be a
lot easier for me at the moment, then.

~ Nathan




More information about the Twisted-Python mailing list