[Go to site: main page, start]

Docs

SSH keys

Add your public keys to the team so you can sign in to your servers yourself.

What team SSH keys do

  • CloudPloy does not need your SSH key to deploy. It uses its own key for each server, stored encrypted.
  • Team SSH keys are public keys of people in your team. CloudPloy adds the active ones to the ploy user on each server it sets up after you add the key, so you can sign in to the server yourself.
  • Servers that were set up before you added a key do not get it. Add it to those servers by hand.
  • Supported key types: Ed25519, ECDSA and RSA.

Create a key

On macOS, Linux or Windows (PowerShell), run ssh-keygen -t ed25519 -C "you@example.com" and set a passphrase when it asks. Your public key is then in ~/.ssh/id_ed25519.pub. Copy the one line in that file. Never share the private key, the file without .pub.

Add, turn off or remove a key

  1. 1

    Open SSH keys

    In the console, open Settings, then SSH keys. Only owners and admins can change keys.
  2. 2

    Add the public key

    Give the key a name and paste the line from your .pub file. CloudPloy shows its fingerprint.
  3. 3

    Turn a key off

    An inactive key is not added to new servers. Servers that already have it keep it.
  4. 4

    Remove a key

    Removing a key from the team does not remove it from servers that already have it. Delete its line from /home/ploy/.ssh/authorized_keys on those servers.

Sign in to a server

  • A server you connected over SSH: ssh ploy@SERVER_IP, with the SSH port you entered.
  • A server in your AWS account: port 22 is open only to CloudPloy. To sign in yourself, first allow your own IP address on port 22 in the server's security group in the AWS console.
  • See also Connect an existing server and Connect AWS.