A collection of scripts usable with the PilotSSH iOS app
Shell PHP Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apache
dns
echo
graph
img
logs
network
nginx
power
process
quick_command Add correct shebangs (using env) for all scripts Jul 5, 2013
system
wordpress
API.md
LICENSE
README.md
index

README.md

Scripts for PilotSSH

This repository holds scripts usable with the PilotSSH application, available on iOS and Android. This application provides an easy way to manage a server, through a set of scripts stored on the server, used to generate a convenient user interface on your smartphone.

To use a new script, upload its folder to ~/.pilotssh on your server, update the .pilotssh/index script to point to the new folder, and you are ready to go!

Screenshots

Here are some pictures of scripts usable with Pilot SSH:

WordPress Administration

Process list

Building your own scripts

Take inspiration from the scripts stored here to build your own. You can use any language you want! The index¨ script is the first one called by Pilot SSH, and displays a list of available scripts:

Index

  • The "Process list" script shows how to use alert boxes in the application.
  • The "Power" script displays the two different ways to display a cell (with and without a command, with and without a value)
  • The "Logs" script shows how to display a large block of text
  • The "Echo" script demonstrates how to ask some input from the user

The WordPress administration script builds on all the previous one to show a complete example of what can be done. The most interesting part is the configuration one: the script asks the user for the path to the WordPress website, and generates its configuration.

Almost anything can be done with Pilot SSH, so be creative! Happy Hacking!