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. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor