Skip to main content

Reach your machines by name

vpncli connects one machine to another by name — no public IP, no port forwarding, no ssh account to set up on the far side. You log in once with your Monolex identity, and every machine you own becomes reachable.

Four ways to connect

shell

A full interactive terminal on the remote machine.

exec

Run one command, capture its output, get its exit code. Scriptable.

mosh

A roaming terminal that survives Wi‑Fi changes and suspend/resume.

tunnel

Forward a raw TCP/UDP port — run ssh, scp, git, or a database over P2P.

How it’s different from ssh

Under the hood, vpncli builds a direct peer‑to‑peer link between your two machines and encrypts it end to end. A coordination server introduces the two machines to each other, then steps out of the way — it never sees your data. See How it works and Security.

Next

Connect your first machine

Install, log in, and open your first remote session.

Commands

shell, exec, mosh, tunnel — with examples.