> 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/integrations/remote-access/ssh-terminal.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# SSH Terminal

Open SSH terminal sessions in Remote Desktop Manager with the SSH shell entry, using password, SSH key or smart card authentication, SFTP and X11 forwarding.

SSH Terminal integrates with Remote Desktop Manager through the ***SSH shell*** entry, which opens an SSH terminal session in a tab of the application or in an undocked window, with file transfer, logging and macros.

## Prerequisites

* Available on Remote Desktop Manager Windows, macOS and Linux.
* The host name of the SSH server, and a username with a password, a private key or, on Windows and Linux, a smart card.

## What you can do

* Open the session embedded in a tab of Remote Desktop Manager (***Embedded (tabbed)***) or in its own window (***Undocked***).
* Authenticate with a username and password, be asked for the password every time (***Always ask for password***), or send an empty password.
* Authenticate with an SSH key from a local file, embedded data or an SSH key entry, with an optional certificate and a passphrase that is stored or asked for every time.
* Authenticate with a smart card.
* Set the public key of the SSH host (***Set host public key***).
* Connect through a proxy or an SSH gateway.
* Run commands after the login and before the session closes (***Post-login*** and ***Before closing*** tabs).
* Transfer files over SSH File Transfer Protocol (SFTP) in a file transfer tab (***SFTP*** tab).
* Forward X11 connections to display remote graphical applications (***X11 forwarding*** tab).
* Log the session to a file, and use macros from a macro bar.
* Adjust the terminal type, encoding, font, colors, keyboard and algorithms of the session.
* Use the other SSH entry types for a more specific scenario: ***SSH tunnel***, ***SSH port forward***, ***SSH key dashboard*** and the ***SSH key*** credential entry. See the links in See also.

## Configure SSH Terminal

1. Click ***Add new entry*** – ***Session*** – ***General*** – ***SSH shell***.
2. Enter a name for the entry and choose a folder.
3. In the ***General*** tab, enter the ***Host*** and the ***Port***.
4. Enter the ***Username*** and the ***Password***. Check ***Always ask for password*** to be asked for the password every time.
5. To authenticate with an SSH key, open the ***SSH key*** tab, select the source of the ***Private key*** and enter the ***Passphrase***. Check ***Always prompt for passphrase*** to be asked for it every time.
6. On Windows and Linux, to authenticate with a smart card, check ***Use smart card*** in the ***General*** tab, then select the ***Certificate method*** and enter the ***PIN code***.
7. Optionally, use the ***Proxy*** and ***SSH gateway*** tabs to connect through a proxy or a gateway, and the ***Post-login*** and ***Before closing*** tabs to run commands.
8. Click ***Save*** (***Create*** on macOS).

{% hint style="info" %}
On macOS, the settings window of the entry has the ***General***, ***SSH key***, ***Proxy***, ***SSH gateway***, ***Post-login***, ***Terminal***, ***Keyboard***, ***X11 forwarding***, ***Logs***, ***Macro*** and ***Advanced*** tabs. The ***SFTP*** options are in the ***Advanced*** tab of the ***Terminal*** tab, and there is no ***Before closing*** tab.
{% endhint %}

## Use SSH Terminal

1. Open the ***SSH shell*** entry. The terminal opens according to the ***Display*** setting of the entry.
2. If the host asks for more information, such as a password or a one-time password, answer in the terminal.
3. Use the file transfer tab to browse and transfer files over SFTP. Check ***Automatically open the file transfer tab*** in the ***SFTP*** tab (in the ***Advanced*** tab of the ***Terminal*** tab on macOS) to open it with the terminal.

## Integration level

SSH Terminal is an integration level 1 – High support integration. See [Integration levels](https://docs.devolutions.net/resources/integration-levels).

#### See also

* [SSH shell entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/ssh-terminal.md)
* [SSH tunnel entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/ssh-tunnel.md)
* [SSH port forward entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/ssh-port-forward.md)
* [SSH key dashboard entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/ssh-key-dashboard.md)
* [SSH key entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/ssh-key.md)
* [Use the command palette in SSH sessions](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/use-the-command-palette-in-ssh-sessions.md)
* [SSH Shell entry failed to connect](https://docs.devolutions.net/rdm/knowledge-base/troubleshooting-articles/ssh-shell-entry-failed-to-connect.md)


---

# 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.devolutions.net/rdm/integrations/remote-access/ssh-terminal.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.
