On 1/12/19 11:43 pm, putridsoul66@gmail.com wrote:
> I am not able to ssh into my home computer connected to
> router, the client device (termux on android) is on a
> mobile network. Is there something I am supposed to
> know?. Because I can ssh into my computer easily when
> when both devices are on the same router network.
- Are you using the right address on your device? If you have a DNS
hostname configured, check its A and/or AAAA record points to the
correct IP address. (This must be a publicly routable IPv4/IPv6 address
*NOT* be a RFC-1918 private IPv4 address or RFC-4193 ULA IPv6 address.)
- Is your OpenSSH server behind a router? Is that configured correctly?
- Is your ISP (for the phone or your home computer) perhaps blocking
ports? Try editing /etc/ssh/sshd_config and change the port to
something high, maybe 22222?
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
No comments:
Post a Comment