Run a local command on a remote machine

view full story

http://serverfault.com – I have a python script (audit.py) which collects information about a machine and prints the output at the end. Along the way it asks for user input (using Pythons' raw_input functionality). Is there a way to run this script on a remote machine, saving the output to a local file? (HowTos)