ISH – Run a Linux Shell on your iPhone
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!
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.
$ apk add openssh— install the ssh tools and the ssh server.
$ ssh-keygen -A— create the host keys.
$ passwd— Set a password for root to protect your iOS device
$ echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
You should now be able to ssh to your device with username root and the password you typed.