ISH – Run a Linux Shell on your iPhone

Description

Do you have an old iPhone collecting dust in a drawer? You are certainly not alone.

Now is the time to bring it back to life and give it a purpose.

You can run Linux Alpine on your iPhone, without having to Jailbreak it.

Just download ISH from Appstore and get started!

ISH is a project to get a Linux shell environment running locally on your iOS device, using a usermode x86 emulator.

As one of my motto in life is, “seeing is believing”, I have hosted a tiny Python web-server on it.

Jump right into my iPhone live and play some PAC-MAN now!

https://pacman-on-iphone.mithawala.com/

Want to try it yourself? Download ISH from Appstore and start with setting up an SSH Server

Here's a quick step by step guide for running an SSH server.

  1. $ apk add openssh — install the ssh tools and the ssh server.
  2. $ ssh-keygen -A — create the host keys.
  3. $ passwd — Set a password for root to protect your iOS device
  4. $ echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
  5. $ /usr/sbin/sshd

You should now be able to ssh to your device with username root and the password you typed.