[Twisted-Python] Running commands (ssh) from a GUI client

Raúl Gómez C. nachogomez at gmail.com
Tue Oct 9 07:05:10 EDT 2007

I'm really confused at this point,

Even if I keep the SSHConnection object, the commands aren't executed until
the last one is queued, I think this is happening because of the deferred,
but I'm not sure. So, how can I run these commands each one at a time

Maybe this sounds really trivial to some of you, but I'm stock!



On 10/7/07, Paul Swartz <paulswartz at gmail.com> wrote:
> On 10/7/07, Raúl Gómez C. <nachogomez at gmail.com> wrote:
> > Hi list, this is my first post :p
> >
> > I'm new to Twisted/Conch and I was wondering how can I modify the
> > sshsimpleclient.py in order to run several commands, on a user request
> mode,
> > without the need to authenticate just before every command, just like a
> > normal interactive ssh session. This is for a GUI front end I'm writing
> > (PythonCard) that will execute some benchmarks on a remote server.
> If you keep that SSHConnection object around, you can open new
> SSHChannels to execute commands without reauthenticating.
> -p
> --
> Paul Swartz
> paulswartz at gmail dot com
> http://z3p.livejournal.com/
> AIM: z3penguin
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20071009/40152e3a/attachment.htm 

More information about the Twisted-Python mailing list