> For the complete documentation index, see [llms.txt](https://docs.prevps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prevps.com/getting-started/connect-to-your-server.md). Agents can also search and read this documentation through its [MCP server](https://docs.prevps.com/~gitbook/mcp).

# Connect to your server

Log in to a Linux server over SSH or to a Windows server with Remote Desktop.

You need the server's IP address and login details from the welcome email, or from the service page in the [PreVPS Client Area](https://prevps.com/clients/clientarea.php).

{% tabs %}
{% tab title="Linux (SSH)" %}
**macOS, Linux or Windows 10 and later** (OpenSSH is built in):

```bash
ssh root@YOUR_SERVER_IP
```

If you added an SSH key when you ordered, the key logs you in. Otherwise enter the password from the welcome email; you are asked to accept the server's fingerprint the first time.

**PuTTY on Windows**: enter the IP address as Host Name, port 22, then log in as `root`.
{% endtab %}

{% tab title="Windows (Remote Desktop)" %}

1. Open **Remote Desktop Connection** (`mstsc` on Windows; the Windows App on macOS).
2. Enter the server's IP address and connect.
3. Log in as `Administrator` with the password you received, or the one you set during Windows setup.

Remote Desktop uses TCP port 3389. On a Cloud VPS, make sure the [firewall](https://docs.prevps.com/cloud-vps-management/firewalls.md) allows it.
{% endtab %}
{% endtabs %}

## When you cannot connect

* **Use the browser console.** On a Cloud VPS, the control panel opens a console in your browser that works even when SSH or Remote Desktop does not. See [Control panel](https://docs.prevps.com/cloud-vps-management/control-panel.md).
* **Check the firewall.** A firewall rule may block port 22 (SSH) or 3389 (Remote Desktop). See [Firewalls](https://docs.prevps.com/cloud-vps-management/firewalls.md).
* **Check that the server is running.** Power it on from the control panel if it is off.
* **Wrong password?** Use the console to reset it, or [open a support ticket](https://docs.prevps.com/support/open-a-support-ticket.md).

More checks: [Troubleshooting checklist](https://docs.prevps.com/support/troubleshooting-checklist.md).
