[Tutor] Subprocess communications query

Danny Yoo dyoo at hashcollision.org
Tue Dec 10 20:48:10 CET 2013


Ok; so in your situation, it sounds like machine A is also running a
Python script, and you want to automate the remote administration of
machine B through that program.  If that's the case, you may want to
look at the "Fabric" library, or other libraries that help with
driving ssh through Python:

    http://docs.fabfile.org/en/1.8/

There are a few more links in:

    https://wiki.python.org/moin/SecureShell
    http://stackoverflow.com/questions/1233655/what-is-the-simplest-way-to-ssh-using-python
    http://python-for-system-administrators.readthedocs.org/en/latest/index.html

that might be relevant to you.


More information about the Tutor mailing list