Run Scripts on Your Mac from iOS [Link]

May 20, 2014 by Gabe | [mmd] | ℳ↫

From Moving Electrons comes a nice tip about executing remote commands over SSH from Pythonista. It's simple in design:

  1. Connects to the server.
  2. Executes the command passed as an argument to the script in Pythonista in the remote server (more info in the following section).
  3. Once the command is run, it disconnects from the server.

Of course, this requires a remotely accessible Mac. I have some similar things I do with my hosts at Webfaction. You get the idea though. Once you have an SSH connection you can pretty much do anything and Pythonista is a good way to create that SSH connection.