CorefinityCorefinityDocs
Open the Control PanelControl Panel
Your account · 4 of 7

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

On this page

Before you start

  • You have a public key: see SSH keys.
  • For a key that logs in as the shared username web, see 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.

  2. Choose Add personal key

    Under My keys, choose Add personal key.

  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.

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.

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.

A removed key stops working on every environment.

Automate this

Your SSH keys

Adds a public key at one level: a company or a website (for all or for selected environments), one environment, or yourself.

POST/api/ssh/keys
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"
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT