[Twisted-Python] Running commands (ssh) from a GUI client
paulswartz at gmail.com
Sun Oct 7 14:56:12 EDT 2007
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.
paulswartz at gmail dot com
More information about the Twisted-Python