Python – Use Twisted to run commands on remote systems

Use Twisted to run commands on remote systems… here is a solution to the problem.

Use Twisted to run commands on remote systems

I’m trying to write a client/server using Twisted that allows the client to issue remote commands on the server and receive response data in real time. That is, if I run $> ssh server someProg.sh, I will see the results “live” instead of seeing all the results immediately when the process completes. Is this kind of thing possible in Twisted? Thank you.

Solution