Possible Duplicate:
Execute arbitrary python code remotely - can it be done?
I wrote a memory usage check function and it runs fine on one server (say 10.100.110.10).
But I need to run the same script remotely on 10.100.110.11 from 10.100.110.10. I can ssh to 10.100.110.11 from 10.100.110.10. Is there any way to implement that using python built in modules?
I can't use any new modules like Paramico and Unix command
ssh -n user@10.100.110.11 "df -m"
works fine. If it is not possible, how can I ssh to 10.100.110.11 using a built in Python module?