> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/configure-git-commit-signing-with-remote-desktop-manager.md).

# Configurar la firma de commits de Git con Remote Desktop Manager

### Requisitos previos

* Es necesario que Git esté instalado.
* (Opcional) [OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh-overview).

### (Opcional) Configurar OpenSSH for Windows

Se recomienda encarecidamente usar OpenSSH for Windows cuando se utiliza una clave de firma con frase de contraseña, ya que querremos cargarla con el agente de claves de RDM. De lo contrario, se nos pediría la frase de contraseña cada vez que hagamos un commit, lo cual es muy incómodo.

1. Para instalar [OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh-overview) en Windows 11, vaya a ***Sistema*** – ***Características opcionales***.
2. Compruebe que OpenSSH Client esté instalado. De lo contrario, se puede buscar e instalar con el botón azul ***Ver características***.
3. Abra los ***Servicios*** en Windows.
4. Establezca el tipo de inicio de OpenSSH Authentication Agent en ***Automático*** e inicie el servicio.

   <figure><img src="https://cdnweb.devolutions.net/docs/RDMW6085_2024_3.png" alt=""><figcaption></figcaption></figure>
5. Abra el agente de claves SSH haciendo clic en ***Herramientas*** – ***SSH Key Agent*** en la cinta de opciones de Remote Desktop Manager.
6. Establezca el modo en OpenSSH e inicie el agente.

### Generar la clave SSH

[Genere la clave SSH](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) utilizando ssh-keygen.

```
ssh-keygen -t ed25519 -C "your_email@example.com"
```

### Configurar la clave para la firma de código

1. Abra el [SSH Key Manager (local)](/rdm/es/ribbon-menu-bar/tools/ssh-key-manager-local.md).
2. Seleccione la clave y haga clic en ***Usar para la firma de commits de Git***.
3. Se abre la ventana de firma de commits de Git.
4. Marque tanto ***Firmar commits por defecto*** como ***Configurar Git para usar OpenSSH for Windows***.

   ![](https://cdnweb.devolutions.net/docs/RDMW6086_2024_3.png)
5. La clave debe añadirse en el proveedor de Git. Para ello, abra Github.
6. Vaya a ***Settings*** – ***SSH and GPG keys***.
7. Haga clic en ***New SSH key***.

   ![](https://cdnweb.devolutions.net/docs/RDMW6088_2024_3.png)
8. Se debe seleccionar Signing key como tipo de clave.

   ![](https://cdnweb.devolutions.net/docs/RDMW6087_2024_3.png)

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Para saber cómo usar claves SSH en Github, Gitlab y Bitbucket, haga clic en los enlaces siguientes:- Adding a new SSH key to your GitHub account - GitHub Docs</p></div>

* Use SSH keys to communicate with GitLab | GitLab
* Set up personal SSH keys on Windows | Bitbucket Cloud | Atlassian Support

9. Haga un commit. Si se requiere una frase de contraseña para acceder a la clave SSH, se solicitará en ese momento.
10. Para verificar que nuestro commit está correctamente firmado, consulte la página Commits en GitHub. Los commits firmados con una clave conocida mostrarán una etiqueta Verified.

### Cargar la clave en el agente de claves SSH

Para evitar tener que escribir la frase de contraseña en cada commit, la clave se puede cargar en el gestor de claves.

1. En el [***SSH Key Manager (local)***](/rdm/es/ribbon-menu-bar/tools/ssh-key-manager-local.md), seleccione la clave y utilice la opción ***Cargar en el agente de claves SSH***. Existe una opción adicional para cargar automáticamente la clave cuando se inicia el agente de claves.
2. Si la clave tiene una frase de contraseña, aparecerá un mensaje para introducirla cuando se cargue la clave.
3. Configure el entorno para evitar introducir la frase de contraseña.
4. Para ello, importe la clave en una bóveda mediante la acción ***Guardar como entrada***.
5. En la entrada, establezca la frase de contraseña y marque ***Guardar frase de contraseña***.
6. Marque ***Cargar automáticamente en el agente de claves SSH*** en el agente de claves SSH.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/configure-git-commit-signing-with-remote-desktop-manager.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
