What is the point of installing SSH without Edge/Wifi (ie, the only way you are going to be able to use it)
You could download the debian file manually, copy it to the iPhone and install it with dpkg, but SSH is worthless without some sort of network connection.