Help / Sign in from your computer
Sign in to the router from your computer
You can sign in to the router from another computer, so it doesn't need its own screen and keyboard. Sign-in is on as soon as it's installed, and it works from your network and from the internet. Use a long password, or add a key.
Sign in
- On your computer, open a terminal (on Windows, PowerShell).
- Type
ssh root@followed by the router's address, for examplessh root@192.168.60.1from a computer plugged into the router's office port. - Type the password you chose when installing. You're now at the router's prompt, the same as at its own screen.
Sign in with a key instead of a password
- Copy your computer's public key (the one line that starts with
ssh-ed25519). - On the router, run
tnet ssh key add "ssh-ed25519 AAAA... you@laptop"with your own line in the quotes. tnet ssh key listshows the keys it accepts. Your password still works too.
If you're locked out
To stop password guessing, the router blocks any address that opens more than 5 sign-in connections in a minute. The block lasts an hour, even if the router restarts. Computers on the router's office port are not blocked.
- Sign in at the router's own screen, or from a computer on its office port.
- Run
tnet ssh unblock all. If you know the blocked address,tnet ssh unblockfollowed by that address lifts just that one. - Wait a minute before you try again from the computer that was blocked, so the quick tries don't count against it again.
Turn sign-in off or on
tnet ssh status shows whether it's on, and how many addresses are blocked right now. tnet ssh off turns it off, and tnet ssh on turns it back on.
If tnet version says 0.2.2, sign-in from another computer is off until you reinstall with 0.2.3. Questions? Write to support@tunnelnet.com.