[Rondar](/)

[Product](/#features) [Pricing](/pricing) [Demo](/demo) [Docs](/docs) [Contact](/contact)

[Sign in](/access#access-sign-in) [Request an invite](/access)

Docs

**Help article: Give sessions SSH access to a server**

Search documentation

_Field: `search` (search)_

Start

[Your first session](/docs/getting-started)[Connect a repository](/docs/connecting-a-repo)[Connect a coding agent](/docs/connecting-agents)

Work

[Working with sessions](/docs/sessions)[Plan a change before you build it](/docs/plan-mode)[Preview the running result](/docs/live-previews)[Make your app ready for previews](/docs/preview-ready-app)[Get client feedback without a call](/docs/client-feedback-without-a-call)[From session to pull request](/docs/pull-requests)[Get a second agent to review a pull request](/docs/independent-reviews)[Todos](/docs/todos-and-workflows)[Start work from issues](/docs/start-work-from-issues)[Production errors](/docs/production-errors)[Find the next work with Sentinel](/docs/sentinel)[Work at night with the night shift](/docs/night-shift)

Ship

[Ship a release](/docs/releases)[Release an iOS app](/docs/release-ios-app)[Set up GitHub Actions deploy workflows](/docs/github-actions-deploy-workflows)[When GitHub does not run your checks](/docs/github-did-not-run-checks)[Automate website care plans with agents](/docs/automate-website-care-plans)

Configure

[Agent instructions](/docs/agent-instructions)[Project settings](/docs/project-settings)[Products and their brain](/docs/products)[Give sessions SSH access to a server](/docs/ssh-servers)[Notifications](/docs/notifications)

Integrate

[Webhooks](/docs/webhooks)[Connect an external agent with MCP](/docs/mcp-and-api)[MCP sign-in check failures](/docs/mcp-sign-in-check)[What your ACP agent must do to pass](/docs/acp-journeys)[Update-debt report](/docs/update-debt)

Reference

[When something needs attention](/docs/troubleshooting)[Self-host setup](/docs/self-host-setup)[Frequently asked questions](/docs/faq)

Documentation

# Give sessions SSH access to a server

Let an agent run commands on a server of yours, for example to read logs or to deploy.

Updated November 11, 2026

1

## Decide if you need it

A session works in its own container and cannot reach your servers. Add an SSH server when the work is outside the project: to read the logs of a staging server, to restart a service, or to run a deploy command.

This access is powerful. Every agent session of the projects that you choose for a server can use it. Give the access only for the time that the work needs it, and give the server user only what that work needs: a user that only reads logs is enough to find the cause of an error.

You do not need an SSH server here to set up a deploy. **Set up with an agent** asks for a temporary key with one command on the server, and only that setup session gets it. See [Set up GitHub Actions deploy workflows](/docs/github-actions-deploy-workflows).

2

## Prepare a key and a user on the server

Do this on the server before you open Rondar:

1. Make a user for this purpose. Do not use `root`, and do not use your own account.

2. Give the user only the permissions that the work needs.

3. Make a new key pair for this user. Do not use your personal key.

4. Add the public key to `~/.ssh/authorized_keys` of the user.

Rondar does not support sign-in with a password.

3

## Get the host key of the server

The host key lets Rondar make sure that it speaks to your server. Read it from a source that you trust, for example on the server itself:

```
cat /etc/ssh/ssh_host_ed25519_key.pub
```

The line starts with `ssh-ed25519 AAAA`.

4

## Add the server

Open **Settings → SSH servers** and select **Add server**. Give these fields:

- **Label:** a name that tells you and the agent what the server is for.

- **Host**, **Username** and **Port**. The usual port is 22.

- **Private key:** the private key of the pair that you made.

- **Host key:** the line from the step before.

Select **Enable for agent sessions**. Then select **Test connection**, and **Save server**.

5

## Use the server in a session

The page shows an alias for each server. New sessions, and sessions that you resume, can use it. Tell the agent what to do and name the server, for example: "Read the last 200 lines of the application log on the staging server and find the cause of the 500 errors."

Rondar puts the key only in the containers of sessions. It is not part of the project setup or of its saved image.

6

## Remove the access

Select **Disable** on a server to stop its use and keep its data, or **Delete** to remove it. **Edit / rotate key** replaces the key. When the work is done, disable the server in Rondar and remove the public key on the server.

Rondar removes the temporary key of a deploy setup by itself when the setup ends. If the server did not answer then, the line stays in `~/.ssh/authorized_keys`, but nobody holds its private key any more. You can remove it on the server; it ends with `rondar-setup:` and a code:

```
grep -v 'rondar-setup:' ~/.ssh/authorized_keys > /tmp/keys && cat /tmp/keys > ~/.ssh/authorized_keys && rm /tmp/keys
```

[Request an invite →](/access)

## On this page

[Decide if you need it](#step-1)[Prepare a key and a user on the server](#step-2)[Get the host key of the server](#step-3)[Add the server](#step-4)[Use the server in a session](#step-5)[Remove the access](#step-6)

[Rondar](/) © 2026 Rondar

[Docs](/docs) [Pricing](/pricing) [Demo](/demo) [Rondar vs Amp](/compare/amp) [Rondar vs T3 Code](/compare/t3-code) [Rondar vs OpenHands](/compare/openhands) [Contact](/contact) [Security](/security)
