I'm really confused at this point,<br>
<br>
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 (synchronously)?<br><br>Maybe this sounds really trivial to some of you, but I'm stock!<br><br>Thanks!<br><br>Raul<br><br><div><span class="gmail_quote">
On 10/7/07, <b class="gmail_sendername">Paul Swartz</b> <<a href="mailto:paulswartz@gmail.com">paulswartz@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/7/07, Raúl Gómez C. <<a href="mailto:nachogomez@gmail.com">nachogomez@gmail.com</a>> wrote:<br>> Hi list, this is my first post :p<br>><br>> I'm new to Twisted/Conch and I was wondering how can I modify the
<br>> sshsimpleclient.py in order to run several commands, on a user request mode,<br>> without the need to authenticate just before every command, just like a<br>> normal interactive ssh session. This is for a GUI front end I'm writing
<br>> (PythonCard) that will execute some benchmarks on a remote server.<br><br>If you keep that SSHConnection object around, you can open new<br>SSHChannels to execute commands without reauthenticating.<br><br>-p<br>--
<br>Paul Swartz<br>paulswartz at gmail dot com<br><a href="http://z3p.livejournal.com/">http://z3p.livejournal.com/</a><br>AIM: z3penguin<br><br>_______________________________________________<br>Twisted-Python mailing list
<br><a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
</a><br><br></blockquote></div><br>