# SSH Access

To use CLI commands and access the instance database you need to receive SSH access.

ReadyMage offers 2 methods of adding an SSH key to the environment:

## Using account SSH key integration (preferred way)

Using this method you will not need to copy-paste your key for each environment. It will be linked to your ReadyMage account.

### Add SSH key to your account

Navigate to **Account -> Integrations**.

<figure><img src="/files/uZAOSaTsmYSGiX5Kl1TM" alt=""><figcaption></figcaption></figure>

Click **Add Key**.

<figure><img src="/files/pjSKFmfIm00aFXPK7Fm1" alt=""><figcaption></figcaption></figure>

Enter your SSH Public Key and click **Save**.

<figure><img src="/files/eIQz5UEfgT6hdwOqova5" alt=""><figcaption></figcaption></figure>

After saving, the SSH key will be partially visible in the integrations.

<figure><img src="/files/cKbpu6sf376a8FADMLlk" alt=""><figcaption></figcaption></figure>

### Grant user access to SSH

Navigate to **User Portal → Project → Selected Instance → Application Management → SSH Access** tab. Click **Add User** and select User by email.

<figure><img src="/files/sMT5fYSmH25py7GLyF4E" alt=""><figcaption></figcaption></figure>

## Using SSH key

To do that, navigate to the **User Portal → Project → Selected Instance → Application Management → SSH Access** tab. Click **Add SSH Key**, fill in your SSH username, and add your SSH Public Key.

![](/files/9M6EWwF8cHdtQLTo7s0k)

## Connecting to the SSH server

To connect using the Terminal, copy the command by clicking on *Copy* and enter it in the terminal.

![](/files/2fGvokf3it1zedoWxDrE)

If you are connecting using a graphical interface you might have to add:

* Host by region:
  * USA Ohio: `ssh.ohio.us.i.readymage.com`
  * Canada Central: `ssh.central.ca.i.readymage.com`
  * Europe Ireland: `ssh.ireland.eu.i.readymage.com`
  * Europe Stockholm: `ssh.stockholm.eu.i.readymage.com`
  * Middle East UAE: `ssh.central.me.i.readymage.com`
  * Asia Pacific Sydney: `ssh.sydney.ap.i.readymage.com`
* Port - 22

You can remove users by pressing the *Delete* button next to their username.

More details on CLI, Utilities, and Tools can be found [here](/application-management/ssh-access/ssh-usage.md).<br>


---

# Agent Instructions: 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:

```
GET https://help.readymage.com/application-management/ssh-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
