I&#39;m really confused at this point,<br>
<br>
Even if I keep the SSHConnection object, the commands aren&#39;t executed
until the last one is queued, I think this is happening because of the
deferred, but I&#39;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&#39;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> &lt;<a href="mailto:paulswartz@gmail.com">paulswartz@gmail.com</a>&gt; 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. &lt;<a href="mailto:nachogomez@gmail.com">nachogomez@gmail.com</a>&gt; wrote:<br>&gt; Hi list, this is my first post :p<br>&gt;<br>&gt; I&#39;m new to Twisted/Conch and I was wondering how can I modify the
<br>&gt; sshsimpleclient.py in order to run several commands, on a user request mode,<br>&gt; without the need to authenticate just before every command, just like a<br>&gt; normal interactive ssh session. This is for a GUI front end I&#39;m writing
<br>&gt; (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>