Have you been looking for a good iOS SSH app? Have you been wishing Panic would bring Mosh to Prompt? Have you been desperate to remap your Smart Keyboard’s Caps Lock key to something more appropriate for a terminal environment?
I certainly have. This week Blink Shell came to my rescue. If you need to access remote terminal environments from an iOS device, it’s well worth $20.
Mosh (short for mobile shell) is a replacement for SSH with vastly better support for the intermittent connectivity we encounter daily in the mobile world. It allows you to keep your session open through changing IP addresses and erratic cell tower reception. If that weren’t enough, Mosh also makes up for any latency in your connection by displaying what you type as you type it and inferring server responses when appropriate. Predictions are underlined so you know when your commands haven’t made it to the server yet.
If you’re used to broken connections and latency when using SSH from an iPhone or iPad, then you may find Mosh quite helpful. As long as you have install permissions on your webserver (not always a given if you’re using a hosting provider) then installing Mosh is usually as simple as
sudo apt-get install mosh.
So why haven’t we seen Mosh support on iOS earlier? Since Mosh is licensed under the GPL, the only way developers like Panic can include it in apps like Prompt is if they open source the entire app. For many developers this is a bridge too far.
Open-sourcing your whole app may be a big pill to swallow, but it’s not an insurmountable barrier. Blink has been open-source from the start, and nothing in the GPL prevents you from charging for your software. You’ll discover this quickly should you decide to plunk down $20 for the app. If you need what Blink offers, that’s money well spent.
On top of Mosh support, Blink offers several ways to customize your terminal, including custom theme and font support. But to me, Blink’s greatest option is the ability to remap Control, Alt, Command, and Caps Lock. Long ago, I broke my brain by remapping Caps Lock to Control. With Blink, swapping keys via the the options menu (accessible via
Cmd-,) was quick and easy. Additionally, Blink’s ability to map Escape to Caps, Alt, Control, or Command offers a way to overcome one of the Smart Keyboard’s biggest limitations – no Escape key.
Blink’s interface is refreshingly simple. You start with an empty screen and a prompt that looks like this:
From there, simply type your protocol and identity. Blink supports both SSH and Mosh:
blink> mosh [email protected]
New terminal “tabs” are available by typing
Cmd-T and you can switch between them via a left-right swipe on the screen or
Cmd-]. Blink also supports iOS native copy and paste, although you’ll have to touch your screen to make it happen. The rest of the keyboard shortcuts are available by holding down the Command key.
I’ve been waiting for an app like Blink Shell for a long time. While its $20 price tag might be steep for some, to me that’s a small price to pay for this kind of capability. Until we get a native iOS terminal app, Blink offers the best alternative on your iPad or iPhone.