# Phone, browser & SSH

_Use Monix Agent from your phone or another computer, and let it work on other machines over SSH._

Use Monix Agent from your phone, from another computer, or let it
work on another machine. None of this needs the source code; everything is set
up in Monix Desktop or in the terminal.

## Three ways, three purposes

| You want to… | Use |
|---|---|---|
| work from your phone or a browser | [Remote
 access](#phone) |
| work from another computer in a terminal | [ssh
 into this machine and run `monixcode`](#terminal) |
| see another machine's projects in Monix Desktop, or let the agent work
 on its files | [SSH machines](#ssh) |
| share the project memory with colleagues | [Sharing
 with a team](https://docs.nemonix.ai/monix-agent/docs/sync) |

## Remote access: the phone and the browser

Monix Agent can serve Monix Desktop as a web page over HTTPS, so your phone or
another computer opens it in a browser. It is off by default, and only the
machine that runs the server can switch it on.

On the phone, open `https://<address>:<port>/login` — the
*QR* button shows it as a code. The QR code holds only the address, no
login. The certificate is made by your machine, so the browser warns once;
compare the fingerprint it shows with the one in the settings, then accept it.
Use the IP address you configured: a hostname is refused.

After signing in you get Monix Desktop in a phone layout. *Stay signed in
on this device* keeps you in for 30 days, otherwise 12 hours. Five wrong
passwords within five minutes pause signing in for five minutes.

### What the phone can do

Everything Monix Desktop does — sessions, approvals, memory, calls,
dictation, team settings — except changing remote access itself and moving
the workspace to another machine. Those stay on the machine of the server.

### Devices and switching off

### When it does not open

| Message | Meaning |
|---|---|---|
| Remote access is switched off on this machine. | Switch it on at
 the server's machine. |
| This device (…) is not in the allowed list | Add the address
 shown, or press *Allow* next to it. |
| The address you opened does not match… | Open exactly the
 address and port the page names, not a hostname. |
| Remote access is on, but nothing is listening | The chosen
 address is not up yet (e.g. Tailscale is off). Monix Agent retries every
 30 seconds. |

## From another computer's terminal

The terminal client attaches to the server on the machine it runs on. To work
on your desk machine from a laptop, ssh into the desk machine and start it there:

```
ssh you@desk -t monixcode
```

You get the same sessions and memory as at the desk. SSH must be on at the
desk machine: on a Mac, System Settings → General → Sharing → Remote Login; on
Windows, the OpenSSH Server feature; on Linux, an SSH server such as
`openssh-server`. Settings → Connections → SSH shows the exact
command with a *Copy* button. To paste screenshots from the laptop in such
a session, see [attaching over ssh](https://docs.nemonix.ai/monix-agent/docs/chat#attach-ssh).

## SSH machines

An SSH machine is another computer you register once: Settings → Connections
→ SSH in Monix Desktop, or `/machines` in the terminal
(a adds, t tests,
d removes). You give a name, the host, optionally a user,
the port (22) and a key file. Only the path of the key is stored, never a key or a
password. A machine that asks for a password cannot be used — set up a key first.
The connection is made from the computer of the server, with its keys; the first
test also stores the host key there.

Once a machine is registered and tested:

## Hooks and other agents

Hooks — your own commands at fixed points of a mission — are described on
[Automation](https://docs.nemonix.ai/monix-agent/docs/automation). Connecting Claude Code, Codex, opencode or
Claude Desktop, which installs their hooks for you, is on
[Other coding agents](https://docs.nemonix.ai/monix-agent/docs/external).
