> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-pt/productos/servers-1/concepts/remote-access.md). Agents can also search and read this documentation through its [MCP server](https://docs.plenit.com/~gitbook/mcp).

# Acesso Remoto

Como te ligas ao teu servidor para o administrar: Desktop Remoto no Windows, SSH no Linux e a consola web do painel, sempre à mão

Quando o teu servidor está a funcionar, ligas-te a ele para o administrar. Tens três vias, consoante o sistema operativo e a situação: **Desktop Remoto** para Windows, **SSH** para Linux e a **consola web** do painel, que está sempre à mão.

### Desktop Remoto (Windows)

Num servidor Windows ligas-te por **RDP (Desktop Remoto)** e trabalhas no ambiente de trabalho gráfico, tal como em qualquer Windows Server. É a via habitual para a administração do dia a dia no Windows.

### SSH (Linux)

Num servidor Linux ligas-te por **SSH**, em linha de comandos. Geres as tuas **chaves SSH a partir do painel**, por isso entras com chave em vez de palavra-passe: mais cómodo e mais seguro.

Com a tua chave registada, ligas-te assim:

<pre class="language-bash"><code class="lang-bash"><strong>ssh -i ~/.ssh/tu-chave utilizador@IP-do-servidor
</strong></code></pre>

O utilizador depende da imagem (`root`, `ubuntu`, `debian`, `almalinux`…) e o IP é o público do servidor ou o que alcanças por VPN.

{/\* 📸 CAPTURA · painel › servidor › chaves SSH · destacar o botão de adicionar chave \*/}

### Consola web

A partir do painel abres uma **consola web** ligada diretamente ao servidor, sem passar pela rede. É a tua via de recurso: quando não chegas por RDP ou SSH —uma regra de firewall mal configurada, a rede sem configurar, o equipamento a meio de arrancar— a consola web deixa-te entrar na mesma.

| Método               | Para              | Interface                    | Quando a usar                                           |
| -------------------- | ----------------- | ---------------------------- | ------------------------------------------------------- |
| Desktop Remoto (RDP) | Windows           | Ambiente de trabalho gráfico | Administração diária no Windows                         |
| SSH                  | Linux             | Linha de comandos            | Administração em Linux, com chaves geridas no painel    |
| Consola web          | Qualquer servidor | Consola a partir do painel   | Quando não chegas por RDP ou SSH: resgate e diagnóstico |

> #### 📘 A consola web não depende da rede
>
> Entra pelo painel, não pela ligação do servidor, por isso continua a funcionar mesmo que o servidor não esteja acessível a partir do exterior. Tem-na presente como saída de emergência.

### Acede ao teu servidor de forma segura

Evita expor RDP ou SSH abertos a toda a internet. Acede a eles através de uma **VPN** e restringe quem entra com **regras de firewall** e **Geo-IP**. Assim administras sem abrir a porta de par em par.

### Próximos passos

* Liga-te por Desktop Remoto ou adiciona uma chave SSH em How-to.
* Protege o acesso com VPN e firewall em[ Redes do servidor.](https://docs.plenit.com/docs-pt/productos/servers/concepts/networks.md)
* Revê o ciclo do servidor em [O que é um Servidor?.](https://docs.plenit.com/docs-pt/productos/servers/concepts/what-it-is.md)

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-pt/productos/servers-1/concepts/remote-access.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
