Suddenly unable to connect to my computer via SSH
I use Termux on my Android phone to SSH to my desktop, and it has always worked flawlessly. Tonight, I tried to execute a script on my phone via Termux that SSHs to my computer and runs a command; however, it did not. I checked it and saw that SSH was unable to connect. I went to my system and confirmed SSH was running, and it was. I tried again and still got the timeout error. I double-checked UFW, and its rules for SSH are there.
I can't ping my computer from the phone either. I restarted UFW just in case it was stuck or something, but that did not resolve anything. The only other possible thing that I can think of is I'm running Tailscale and was using the physical IP address, not the Tailscale address, due to having to validate the SSH connection every time unless I use Tailscale SSH, which involves installing Tailscale into Termux, which is a huge process.
Is there anything else that could be preventing the SSH connection?
Posted May 12, 2026, 6:23 AM UTC