Aptible logoDocs
CLI

Public Key Authentication

Public Key Authentication is used to authenticate deployments initiated by pushing to an Aptible Deploy App's Git Remote.

Users can manage their SSH public keys via the Dashboard (click on your profile in the top right, then on SSH Keys).

If you already have a SSH Public Key, you can add it to Aptible Deploy. You can also generate a new SSH key using this command:

ssh-keygen -t ed25519 -C "your_email@example.com"

If you are using a legacy system that doesn't support the Ed25519 algorithm, use:

shell ssh-keygen -t rsa -b 4096 -C "you@example.com"

Aptible supports the following key types:

  • ssh-rsa
  • ssh-dss
  • ssh-ed25519