possible to ssh into android phone over 3G? Is it possible to run an ssh shell on an android phone when the phone is remotely connected but on 3G?  I have my phone remote and sending data over 3G but I might want to change something on it. I have considered

1) the phone receiving text back from an http request and riunning it as a connad
2) running an ssh shell on the phone
anything else?

Thanks
One way to make your Android machine accessible via WAN SSH access (as in connecting from anywhere) would be to create a reverse SSH tunnel from your Android machine to some machine that is always online. It can be your Desktop machine behind a NAT router (most common case). Then you forward that same port from the Router to your Desktop machine. This is what you get:

Android ==REVERSESSHTUNNEL==> Desktop &lt;==PORTFORWARD== Router with public IP

Both the reverse SSH tunnel and port forward from the Router can be done on any high number port, but to avoid making a port numbering mess just pick one high number, above 1024, and stick with that. So you get for example:

Android:3331 ==REVERSESSHTUNNEL==> Desktop:3331 &lt;==PORTFORWARD== Router:3331 with public IP
So what happens when you SSH into your router's IP at port 3331 is that your router forwards the connection to the Desktop at port 3331 and the Desktop (because the connection from the android device to the desktop, which looks like it's in the wrong direction, is in fact REVERSED, so it's as if the Desktop is actually connected to the android device) will forward the connection to the Android device at port 3331. So your SSH connection will go from Whatever => Router => Desktop => Android.

This will work because your ISP will not block your Android from SSHing into your desktop while it would block you from SSHing into your Android from your Desktop or anywhere else on the default port. So we use that fact, connect "the wrong way" and then reverse the connection and get the same thing as if though we connected the "right way".

Don't forget to make the Android machine's SSH app listen at port 3331 or make the reverse tunnel open the port 22 on the Android machine's side.