http://localhost.run/ works fine with android devices. Visit that website for a quickstart guide. At the first run, you might get an error saying permission denied (public key). Here is a quick fix for that: (Run these commands on termux on your android device)
- cd ~/.ssh
- ssh-keygen If it prompts for something, keep pressing enter every time.
- cat id_rsa.pub >> authorized_keys
- chmod 640 authorized_keys
Localhost.run is a hassle-free alternative to ngrok. Ngrok might keep "reconnecting" on devices connected to wifi, this alternative works quite fine.
0 Comments