I'm running SSHDroid on my unrooted android device. When my SSH client on ubuntu or windows are on same wifi network as the Android, I'm able to connect to it via SSH.
But what I want to do is, connect to the device via SSH from a client like putty etc. from a computer which is not in the same network.
eg. If i'm on the same wifi network, I can connect via SSH using command
$ ssh firstname.lastname@example.org -p 2222
but when I connect via ssh using external IP, it says connection refused.
$ ssh email@example.com -p 2222
I also tried using PortForward to forward external port to the internal one. But it doesn't seem to work. Can anyone tell me how to do it without rooting the device.?