I'm running sshdroid server on my android device at port 22 and I get this while I use my pc to connect to it via ssh (LAN)
root@kali:~# ssh -l root 100.107.219.116 The authenticity of host '100.107.219.116 (100.107.219.116)' can't be established. RSA key fingerprint is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '100.107.219.116' (RSA) to the list of known hosts. SSHDroid Use 'root' as username Default password is 'admin' firstname.lastname@example.org's password: root@android:/data/data/berserker.android.apps.sshdroid/home #
now when I try to access it via ssh (INTERNET)
root@kali:~# ssh -l root x.xx.xx.xxx ssh: connect to host x.xx.xx.xxx port 22: No route to host root@kali:~#
so I tried to scan the ports in my external via nmap and got this as output..
root@kali:~# nmap x.xx.xx.xxx Starting Nmap 6.47 (http://nmap.org/) at 2015-09-29 16:30 IST Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn Nmap done: 1 IP address (0 hosts up) scanned in 3.13 seconds root@kali:~# nmap -Pn x.xx.xx.xxx Starting Nmap 6.47 (http://nmap.org/) at 2015-09-29 16:30 IST Nmap scan report for x.xx.xx.xxx Host is up (0.11s latency). All 1000 scanned ports on 1-39-60-154.live.vodafone.in (x.xx.xx.xxx) are filtered Nmap done: 1 IP address (1 host up) scanned in 5.77 seconds root@kali:~#
I'm using DIR-600M router. How can I connect to my device via ssh over internet?