Using SSH Keys

To encourage security best practice in SpinupWP we disable SSH password authentication by default. Instead, authentication with your servers is done using SSH Keys.

How Do SSH Keys Work?

The Secure Shell (SSH) protocol allows you to securely connect and authenticate to remote servers over an unsecured network using end-to-end encryption. SSH keys provide a more secure way of logging into a server with SSH than using a password alone.

SSH key authentication works by generating a pair of keys: a public key and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key (usually your computer). When the two keys match up, the system unlocks without the need for a password.

Checking For Existing SSH Keys

Before generating a new SSH key you can check to see if you already have an SSH key in your ~/.ssh directory on your local computer:

ls ~/.ssh

This command will list the contents of the ~/.ssh directory. If you see the files id_rsa (private key) and (public key) in the output, then you already have an SSH key. If the directory is empty then you can continue with generating a new SSH key.

Generating A New SSH Key

To generate a new SSH key, open a terminal and run the following command:

ssh-keygen -t rsa -b 4096 -C ""

Replace “” with something to help you identify this SSH key (it doesn’t have to be an email address).

When prompted to “Enter a file in which to save the key”, press Enter to select the default location (~/.ssh/id_rsa).

When prompted to “Enter passphrase”, press Enter to leave it blank. If you would like an extra layer of security, you can add a passphrase to your SSH key. However, this will require entering the passphrase every time you use the SSH key.

Adding An SSH Key To A SpinupWP Server

In SpinupWP you can add SSH public keys to your personal account or a team account via the account settings page. SSH keys can then be attached to Sudo Users or Site Users using the SpinupWP dashboard. This will allow you to connect to the server via SSH as the relevant sudo or site user:

ssh myuser@123.456.78.91

To add your SSH public key to SpinupWP first you need to copy it to your clipboard:

pbcopy < ~/.ssh/

If you’re using Windows you can use the clip command instead of pbcopy. If pbcopy/clip isn’t working, you can locate the hidden .ssh folder, open the file in your favorite text editor, and copy it to your clipboard. Note that it’s important to copy your public key ( and not your private key (id_rsa). Your private key should be treated as a password and never shared with anyone.

Finally, paste your SSH public key when creating an SSH Key in SpinupWP:

Adding an SSH key in SpinupWP

Start Your 7-Day Free Trial

Start your SpinupWP journey today and spin up your first server within minutes.

Subscribe to get the latest news, updates and optimizations in performance and security.

Thanks for subscribing 👍

To receive awesome stuff, you'll need to head to your inbox and click on the verification link we sent you.
Make sure to check your "spam" folder or your "promotions" tab (if you have Gmail).
If you're still having trouble, then messages us at

You are already logged in

It looks like you are already logged in to SpinupWP.

Please log out of this account to continue.

Registration Successful

Thanks for registering for a new
SpinupWP account.

Before getting started, could you verify your email address by clicking on the link we just emailed to you?


Free Trial

Start Your 7-Day Free Trial

No credit card required. All features included.

By signing up to SpinupWP, you agree to our Terms and Conditions.
For privacy related information, view our Privacy Policy.