When a server is provisioned with WarpSpeed, it gets configured for authentication using SSH keys. Password authentication for SSH gets disabled. This is considered best-practice and it helps keep your server secure.
SSH keys come in pairs. One is a private key and that is for you to keep to yourself (don’t lose it!). The other is a public key, and that one is to be shared. WarpSpeed needs to be configured with your public key so that it can place this on your servers. The topics below will help you create an SSH key pair (if you don’t already have one) and add your public key to your WarpSpeed.io account.
First, determine if you have an existing SSH key by running the following command in your terminal:
ls -al ~/.ssh
If you see
id_rsa.pub you are in good shape and you don’t need to continue to the next step.
If you do not have an existing key pair, run the following command to generate one:
ssh-keygen -t rsa -C "email@example.com"
When you are prompted for a passphrase, enter something memorable and secure. You will need this passphrase anytime you use your SSH key.
Copying your SSH public key to your clipboard in OSX can be done by running the following command in your terminal:
pbcopy < ~/.ssh/id_rsa.pub