Organisation SSH keys
Add one public key that logs in to every environment of your organisation, or to the environments you choose.
On this page
Before you start
- You are an owner, or your role has View Company SSH Keys to open the page and Create Company SSH Keys to add a key. Changing a key needs Edit Company SSH Keys, and removing one needs Edit Company SSH Keys or Delete Company SSH Keys.
- You have a public key: see SSH keys.
- An organisation key logs in with the shared username
web. For a key that logs in as you, see Your SSH keys.
Add a key
Open the organisation's keys
Go to Organisation › Organisations, choose your organisation, then SSH keys under Access. The line above the list shows how many environments the keys here apply to.
Paste the public key
Choose Add key. Paste the contents of your
.pubfile into Public key and enter a Name that says who or what uses the key.Choose where it applies
Under Applies to, keep All environments, which includes environments created later, or choose Selected and tick the websites or environments. Choose Add key.
The key is listed with Company under Source, and its Status reads Applied once every environment has it.
Change or remove a key
Edit the key
Open its … menu and choose Edit…. Change the Name or Applies to, then choose Save changes.
Or remove it
Open its … menu and choose Remove…. Enter the key's name under Type the key’s name to confirm and choose Remove key.
A removed key stops working on every environment it applied to. On a site, an organisation key is listed with the source Company and the link Edit at your company, which opens this page.
Find your organisation's SSH handle
Your company’s SSH handle shows the second half of every personal username in your organisation, with your own username as the example. Choose Copy to copy it.
Automate this
Your assistant calls corestack_company_ssh_key_create.
{
"name": "corestack_company_ssh_key_create",
"arguments": {
"name": "Staging",
"key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGd1aWRlLWV4YW1wbGUta2V5LW9ubHktbm90LXJlYWw [email protected]",
"sites": "all"
}
}