> For the complete documentation index, see [llms.txt](https://docs.getmedis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmedis.com/integrations/1password-ssh-agent.md).

# 1Password SSH agent

Medis officially supports the [1Password SSH agent](https://developer.1password.com/docs/ssh/agent/), enabling you to manage all your SSH secrets conveniently in one location.

{% hint style="info" %}
Please note that due to Apple's sandbox restrictions, only Medis versions downloaded from the [official website](https://getmedis.com/) support this feature.

Do not hesitate to contact us if you require further assistance.
{% endhint %}

To configure the integration of Medis with 1Password, follow these steps:

## Update SSH Config

Configure the 1Password SSH agent in your SSH config file by referring to [1Password's SSH Configuration Guide](https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client) and adding the following:

```
Host *
  IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
```

to your `~/.ssh/config`.

## Configuring Medis to Use SSH Configuration

<figure><img src="/files/dLP36LIzmsgNANBFfUto" alt="" width="375"><figcaption><p>SSH panel of Medis settings</p></figcaption></figure>

1. Open "Settings..." in Medis
2. Switch to the SSH panel
3. Add your SSH config file so Medis can adhere to the. desired configurations

## Configuring Medis Connection

Once the above steps are completed, Medis can utilize the 1Password SSH agent for your connections that have SSH tunnel enabled. Here's an example of what a typical setup might look like:

<figure><img src="/files/WeaDG9bgqR2g48uHMath" alt="" width="375"><figcaption></figcaption></figure>

When establishing a connection, 1Password will prompt you for SSH key approval as follows:

<figure><img src="/files/f5BIwAEOpCmvNru5K7K2" alt="" width="375"><figcaption></figcaption></figure>
