SSH OneShot Lite

SSH OneShot Lite



FreeOffers In-App Purchases

1.4.3for iPhone, iPod touch
7.3
3 Ratings
Infrageeks
Developer
18.1 MB
Size
Mar 29, 2019
Update Date
Utilities
Category
4+
Age Rating
Age Rating
4+
Apps in this category do not contain restricted content.
9+
Apps in this category may contain mild or occasional cartoon, fantasy or real-life violence, as well as occasional or mild adult, sexually suggestive or horrifying content and may not be suitable for children under 9 years of age.
12+
Apps in this category may contain occasional mild indecent language, frequent or intense cartoon or real-life violence, minor or occasional adult or sexually suggestive material, and simulated gambling, and may be for children under 12 years of age.
17+
You must be at least 17 years old to access this App.
Apps in this category may contain frequent and intense offensive language; Frequent and intense cartoon, fantasy or realistic violence: frequent and intense adult, scary and sexually suggestive subjects: as well as sexual content, nudity, tobacco, alcohol and drugs, may not be suitable for children under 17 years of age.
SSH OneShot Lite Screenshots
SSH OneShot Lite posterSSH OneShot Lite posterSSH OneShot Lite poster

About SSH OneShot Lite

SSH OneShot is a little iPhone app that lets you store individual ssh commands that you run on your computer or server. The Lite version is limited to two folders to organize your commands, but can be unlocked to unlimited folders with an in-app purchase.

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.
Show More

What's New in the Latest Version 1.4.3

Last updated on Mar 29, 2019
Old Versions
Quick bug fix for a crash on startup on iOS 12.2
Show More
Version History
1.4.3
Mar 29, 2019
Quick bug fix for a crash on startup on iOS 12.2
1.4.2
Feb 6, 2018
New network activity monitor for the iPhone X.
1.4.1
Jan 15, 2018
Upgrade for iOS 11 and iPhone X optimisations
1.3.2
Oct 10, 2017
Fixed a few crashing bugs.
Fixed display issues on the screen showing the command results.
1.3.1
Aug 7, 2016
Fixed a bug that prevented the folder and command labels from being displayed.
1.3
Feb 10, 2016
General bug fixes and optimizations.
Major update to the SSH library to connect to modern SSH Servers (notably El Capitan)
1.2
Sep 22, 2015
Bug fix permitting the use of high port numbers.
Basic availability testing for servers. If I can't be sure that the server is available, the buttons will show up as greyed out (but you can still manually tap the command) and status commands will not auto-launch which should get rid of a bunch of the "server not available" messages.
1.1
Feb 4, 2015
Compatibility with larger screen iPhones.
Minor bug fixes
1.0.1
Sep 2, 2014

SSH OneShot Lite FAQ

Click here to learn how to download SSH OneShot Lite in restricted country or region.
Check the following list to see the minimum requirements of SSH OneShot Lite.
iPhone
Requires iOS 11.0 or later.
iPod touch
Requires iOS 11.0 or later.
SSH OneShot Lite supports English
SSH OneShot Lite contains in-app purchases. Please check the pricing plan as below:
Unlock Folders
$3.99

SSH OneShot Lite Alternative

You May Also Like

Get more from Infrageeks