Hi, I'm using Termux on Android to try ssh connecting to my Flint but its not happening, I've installed Termux API and ssh packages but still getting nowhere. Can anybody please guide me? Thanks
After first booting Termux APP, and install "openssh" through the command:
apt update
apt install openssh
Router SSH connection:
ssh root@192.168.8.1
yes
<password>
@bruce this is what I get after following your instructions. Thanks for your reply
At the first post, you are trying to access 192.168.0.1. after the suggestion from Bruce you want to connect 193.168.8.1.
Bruce is using the default GL.iNet IP. But your client says it does not have port 22 open.
This happens for example, when your Client (android/termux) is on the WAN side of the GL.iNet router.
Make sure to use the IP of your router.
.. and you don't need to run sshd, unless you want to be able to log in to your phone from another client. I don't know by @bruce above suggested that.
If I try to access 192.168.8.1 through browser on my tablet it gives me the glinet admin interface but if I do the same on my phone it doesn't work. If the routers IP isn't 192.168.8.1 then what might it be?
from windows / linux client in the LAN segment try:
netstat -rn
route show
traceroute/tracert google.com
look for the default route of the client and the first hop in the chain. this will be your router internal IP.
I tried this and found my router IP should be 192.168.9.0 so I tried ssh root@192.168.9.0 and got the same error as when I attempted connection to 192.168.8.1
I give up
Can you try from a Linux/Windows device with terminal emulator ? Enable debug output to see what will happen
You can find which IP Gateway is from the connected WiFi information from Android settings.
Under the default configuration of GL firmware, if the connected WiFi gateway IP is 192.168.9.1, which should be a guest network.
This network cannot access SSH and Web UI.
If you manually change the private/main LAN to 192.168.9.1 255.255.255.0, then the command entered should be: ssh root@192.168.9.1