title: How to execute a process remotely using python
body: <p>I want to connect to and execute a process on a remote server using Python.  I want to be able to get the return code and stderr (if any) of the process.  Has anyone ever done anything like this before.  I have done it with ssh, but I want to do it from Python script.</p>
  
  <p>Cheers.</p>