SSH OneShot at Mac App Store analyse

App power index: 130 (based on ranks around App Stores today)
Utilities Productivity
Developer: Infrageeks
Price: 0 free
Current version: 1.4.3, last update: 4 years ago
First release : 16 Sep 2014
App size: 17.19 Mb
4.8 ( 9568 ratings )
follow app ASO analyse

Estimation application downloads and cost

> 2.86k
Monthly downloads
~ $ 1.17k
Estimation App Cost


SSH OneShot is a little iPhone app that lets you store individual ssh commands that you run on your computer or server.

What can I use it for?

Just about anything you can do on a command line can now be launched from your phone. The different use cases are as follows:

Commands
These are commands that you launch blindly, without waiting for an results. Examples are for starting and stopping apps and services, or accessing RESTful services via curl that trigger actions. On a Mac you can launch apps in the current open session with something like:

osascript -e tell application "iTunes" to activate
This can be useful if you have a media server in a closet. Or on a Linux server:

service httpd stop
Or any other more complex executable script file that you have written.

Commands with results
These are commands that you launch and want to see the results of. This can be as simple as an “ls” on a directory to see if an ftp upload has finished, a quick service status check or something more complicated like grepping through a log file for errors. Again this can be anything launchable on the command line.

There are currently some limitations on the kinds of commands that you can run here. Interactive commands that need to know the terminal type like top, prstat and things like that will not work. Any commands that open an output stream will also not work (but I’m working on for the next release).

Status Commands
These commands add a little more interactivity. These commands will automatically fire off when you open a folder containing Status Commands and turn the button red or green depending on the results. The basic working mode is that if the command receives anything as a result, that’s good (green) and no response is bad(red).

So if you want to check if iTunes is running on the media server you can use the following command:

ps ax | grep iTunes | grep -v grep | grep -v iTunesHelper

In this example, we take the list of running processes, find all the lines containing the word iTunes (case is important!), and then, using -v eliminate the lines containing grep (which is our initial command) and the same technique to eliminate the line containing the iTunesHelper process that keeps running in the background whether iTunes is running or not. So if iTunes is running, we will get back a line from the original request, otherwise the result will be empty.

If you are having difficulty phrasing the command so that empty is bad, you can flip a switch to swap that part around. For example I check the results of my ZFS server with zpool status and look for the word “degraded” which means there’s a disk offline that I need to check on.

zpool status | grep degraded
With the “Null return is good” switch turned on.

Is it secure ?
Passwords are stored in the iOS keychain, and all network communication is via SSH, so, well, yes.

Navigation

Press and hold a command or a folder and you can reorder it, file it in a folder, or use the edit and delete buttons at the bottom of the screen.
Read more
Available in countries
Country Price
Canada 5.49 CAD
China 25 CNY
France 4.49 EUR
Germany 4.49 EUR
Italy 4.49 EUR
Netherlands 4.49 EUR
Portugal 4.49 EUR
Spain 4.49 EUR
Poland 4.49 EUR
UK 3.99 GBP
India 299 INR
Japan 490 JPY
Korea, Republic Of 999.99 KRW
Poland 18.99 PLN
Russia 299 RUB
Turkey 26.99 TRY
USA 3.99 USD
Korea, Republic Of 4.39 USD
Ukraine 3.99 USD
Available for devices
iPad2Wifi, iPad23G, iPhone4S, iPadThirdGen, iPadThirdGen4G, iPhone5, iPodTouchFifthGen, iPadFourthGen, iPadFourthGen4G, iPadMini, iPadMini4G, iPhone5c, iPhone5s, iPadAir, iPadAirCellular, iPadMiniRetina, iPadMiniRetinaCellular, iPhone6, iPhone6Plus, iPadAir2, iPadAir2Cellular, iPadMini3, iPadMini3Cellular, iPodTouchSixthGen, iPhone6s, iPhone6sPlus, iPadMini4, iPadMini4Cellular, iPadPro, iPadProCellular, iPadPro97, iPadPro97Cellular, iPhoneSE, iPhone7, iPhone7Plus, iPad611, iPad612, iPad71, iPad72, iPad73, iPad74, iPhone8, iPhone8Plus, iPhoneX,