---
title: "Your SSH keys"
url: https://docs.corefinity.com/guides/your-account/your-ssh-keys
type: guide
last_updated: 2026-11-13
feature: ssh-keys
related:
  - https://docs.corefinity.com/api/reference/access/get-company-ssh.md
  - https://docs.corefinity.com/api/reference/access/list-company-legacy-ssh-keys.md
  - https://docs.corefinity.com/api/reference/access/get-own-company-ssh.md
  - https://docs.corefinity.com/api/reference/access/get-environment-ssh.md
  - https://docs.corefinity.com/api/reference/access/list-environment-ssh-activity.md
  - https://docs.corefinity.com/api/reference/access/get-environment-ssh-host-keys.md
  - https://docs.corefinity.com/mcp/tools/corestack_company_ssh_key_list.md
  - https://docs.corefinity.com/mcp/tools/corestack_company_ssh_key_create.md
  - https://docs.corefinity.com/mcp/tools/corestack_company_ssh_key_update.md
  - https://docs.corefinity.com/mcp/tools/corestack_company_ssh_key_delete.md
  - https://docs.corefinity.com/mcp/tools/corestack_ssh_keys_list.md
  - https://docs.corefinity.com/mcp/tools/corestack_ssh_login_get.md
---
# Your SSH keys

Add a personal SSH key to your profile, rename it or remove it.

## Before you start

- You have a public key: see [SSH keys](/guides/sites/access-and-security/ssh-keys).
- For a key that logs in as the shared username `web`, see [Organisation SSH keys](/guides/organisation/access/organisation-ssh-keys).
- A personal key logs in as your own username, on every environment you can reach, never as `web`.

## Add a personal key

1. **Open SSH keys**

   Open the menu under your name, choose **Profile**, then **SSH keys**. **My SSH username** shows your username.

   _Screenshot: The SSH keys tab of the profile: My SSH username with the username and a Copy button, My keys with the Add personal key button and one key, and Where I can log in listing each site's environments._

2. **Choose Add personal key**

   Under **My keys**, choose **Add personal key**.

   _Screenshot: The My keys card with the Add personal key button ringed, and one key listed with its type and fingerprint, when it was added, when it was last used and where it works._

3. **Paste the public key**

   Paste the contents of your `.pub` file into **Public key**. Enter a **Name** that says where the key lives, such as `MacBook`, and choose **Add key**.

   _Screenshot: The Add a personal key dialog: a line saying which username the key logs in as, then Public key and Name, with the buttons Cancel and Add key._

The key is listed under **My keys**. **Where it works** shows how many environments have it.

## See where you can log in

**Where I can log in**, below your keys, lists every environment you can reach, by site. **Copy \~/.ssh/config** copies a ready-made entry for each one, and **Show the config** shows it first.

To connect, your IP address must also be allowed: see [My IP addresses](/guides/your-account/your-ip-addresses).

## Rename or remove a key

1. **Open the key's menu**

   Under **My keys**, open the key's **…** menu. Choose **Rename…** to change its name, or **Remove…**, then type the key's name and choose **Remove key**.

   _Screenshot: The My keys card with the menu open on a key: Rename…, Copy fingerprint and Remove…._

A removed key stops working on every environment.

## Automate this

**API:** [Create an SSH key](https://docs.corefinity.com/api/reference/access/create-ssh-key.md), scope `write`

```bash
curl -X POST https://manage.corefinity.com/api/ssh/keys \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "applies_to": {
      "environment_ids": [
        1311
      ],
      "mode": "selected"
    },
    "name": "Build server",
    "owner": {
      "id": 1204,
      "type": "company"
    },
    "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAAAExampleKeyOnlyDoNotUseThisIsNotARealKey2"
  }'
```

**MCP:** [`corestack_ssh_key_add`](https://docs.corefinity.com/mcp/tools/corestack_ssh_key_add.md), scope `write`

```json
{
  "name": "corestack_ssh_key_add",
  "arguments": {
    "owner": {
      "type": "company",
      "id": 4211
    },
    "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl ci@example",
    "name": "Bitbucket Pipelines"
  }
}
```

**Control Panel:** Managed Websites › your site › Access & security › Users & keys ([https://manage.corefinity.com/go/ssh-keys](https://manage.corefinity.com/go/ssh-keys))

## Related

- [SSH keys](/guides/sites/access-and-security/ssh-keys): Add a key to log in over SSH.
- [My IP addresses](/guides/your-account/your-ip-addresses): Allow your own address everywhere you work.
- [Organisation SSH keys](/guides/organisation/access/organisation-ssh-keys): Add a key for every environment.
