> ## Documentation Index
> Fetch the complete documentation index at: https://www.agent37.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Hermes Desktop

> Point the Hermes Desktop app at an instance over SSH.

Hermes Desktop drives your instance over SSH. Set up [SSH access](/docs/agents-api/ssh) once:

```bash theme={null}
npm install -g agent37
export AGENT37_API_KEY=sk_live_...   # https://www.agent37.com/dashboard/cloud/api-keys
agent37 ssh setup
```

Then in **Settings**, **Gateway**, pick **Connect via SSH**:

| Field           | Value                       |
| --------------- | --------------------------- |
| Host            | `<instance-id>.agent37.app` |
| User            | `node`                      |
| Everything else | Leave blank                 |

Click **Test SSH**, then **Save and reconnect**. Done.

<Frame caption="Hermes Desktop, Settings, Gateway.">
  <img src="https://mintcdn.com/agent37/I36XmJoQEyOzGeJ6/images/hermes-desktop-ssh-gateway.jpg?fit=max&auto=format&n=I36XmJoQEyOzGeJ6&q=85&s=0899be7b6d47972689f8708415ad2de6" alt="Hermes Desktop's Gateway settings with the Connect via SSH mode selected" width="3004" height="1624" data-path="images/hermes-desktop-ssh-gateway.jpg" />
</Frame>

If **Test SSH** fails, the instance is stopped, on an old image, or not running Hermes: [start](/docs/agents-api/instances#start) or [update](/docs/agents-api/instances#update) it and retry.
