Adding an SSH Key to a Git Provider

Server > New Site > Type: Git

When you create a Git site in SpinupWP your server needs to be able to authenticate with your Git provider so it can run commands like git pull (which SpinupWP uses to deploy your site). Authentication happens using SSH keys and SpinupWP generates a unique SSH key for you to use to authenticate with your Git provider.

Here are some instructions for adding the SSH Key to a repository for some popular Git providers:

GitHub

At your GitHub repository, navigate to Settings > Deploy keys > Add deploy key.

  • Add a Title to identify this SSH key.
  • Copy and paste the generated key into the Key field.
  • Leave the other setting as their defaults.

After hitting “Add key” you can go back to SpinupWP and try verifying the Git connection again.

GitHub doesn’t allow the same deploy key to be used across multiple repositories. If you plan on deploying multiple git site types to a single server you should add the SSH key to your GitHub account under Settings > SSH and GPG keys.

GitLab

At your GitLab repository navigate to Settings > Repository > Deploy Keys.

  • Add a Title to identify this SSH key.
  • Copy and paste the generated key into the Key field.
  • Leave the other setting as their defaults.

After hitting “Add key” you can go back to SpinupWP and try verifying the Git connection again.

BitBucket

At your BitBucket repository navigate to Settings > Access keys > Add key.

  • Add a Label to identify this SSH key.
  • Copy and paste the generated key into the Key field.

After hitting “Add key” you can go back to SpinupWP and try verifying the Git connection again.

Ready to give SpinupWP a try?

Not sure if SpinupWP is the right fit for you? Send us an email at sudo@spinupwp.com and we’ll give you our no-BS opinion.