> For the complete documentation index, see [llms.txt](https://help.readymage.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.readymage.com/application-management/ssh-access.md).

# 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 -> SSH Keys**.

<figure><img src="https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2FCE8aSeo85nfZPBOKkgK2%2Fimage.png?alt=media&amp;token=e1363cb4-bced-4e2a-86fd-81e371f2b68a" alt=""><figcaption></figcaption></figure>

Copy and paste the contents of your **public SSH key** into the text field and click **Save SSH Key**.

<figure><img src="https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2FBdE4MB4JMCI1nHW97PJa%2Fimage.png?alt=media&amp;token=49043772-0ea8-4e59-a344-a8e82f4e3b24" alt=""><figcaption></figcaption></figure>

After saving, the SSH key will be visible in the **Integrations -> SSH Keys.**

### 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="https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2F0lDilqNivjd6xmUp7Uhk%2FScreenshot_20240819_172828.png?alt=media&amp;token=c9e3e3da-a214-4396-b106-2c1158c447b1" 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.

![](https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2F3uJPZ542ChEJZbNozlDT%2FScreenshot_20240816_162827.png?alt=media\&token=e9032f76-4649-446d-b2c4-c70d5a60e9fc)

## Connecting to the SSH server

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

![](https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2F3CrnxwWFausvGIhTYLW2%2FScreenshot_20240816_162938.png?alt=media\&token=c8b5d607-934f-4669-bac0-c6ea45ac5ad9)

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>
