Is it possible to access an iPhone over SSH on 3G? I am trying to see if I can SSH to my iPhone using the 3G network. So, given my IP, I am trying to make contact through SSH, using the defined port (which is no longer 22, I changed it).

It all works fine on my private wifi network.
For some reason, it doesn't on 3G...

Any ideas ?

Thanks
a) Unless you have jailbroken your device, iOS doesn't have an SSH server to run.

b) If you have jailbroken your device, it will not be possible to SSH into your iPhone over cellular. You are behind one of the most complex NAT setups there is. When you move between towers, and lose signal, you lose your lease to a unique ID with the cellular network (like an IP). However, every time your connection is re-established with your carrier, you're connected to a new tower and your connection is routed differently through another NAT and finally out somewhere, probably in another state.

In researching this alone, over the course of 10 minutes, my iPhone returned 2 different IPs from the internet, one in Florida, one in Pennsylvania.

Short answer: Wi-Fi = yes | Cellular = no