Cloud 66 101

Generating local SSH keys

Generate Keys on Linux and Mac

You can access your servers (managed by Cloud 66) using SSH (Secure Shell Protocol). When you connect via SSH, you will authenticate using a private key file on your local machine. As such you need to create your own SSH key. To do this:

  1. Open your terminal app on your local machine
  2. Type or paste in the following (substituting your own email) $ ssh-keygen -t ed25519 -C "your_email@example.com" This creates a new SSH key, using your email address as a label.
  3. When you’re prompted to supply a filename for the key, you can press enter to select the default. However if you have an existing key we suggest you name this new key manually. Remember to include the full path in they key name so that your key is saved in the right directory (typically /Users/your_username/.ssh/)
  4. Optional You can add a passphrase if you prefer. Be sure to take note of the passphrase if you do set one. If you leave this blank then no passphrase will be set.
  5. Press enter to complete the process

You will now have an SSH key pair named id_ed25519 and id_ed25519.pub.

You can now add your public key to your Cloud 66 account, and connect to your servers via SSH. The quickest and easiest way to to this is using your Toolbelt's ssh command.

Generate Keys on Windows

If you're using PuTTY in Windows for SSH services, you can still use SSH keys. PuTTY can generate keys using the puttygen program, download PuTTY.

More information regarding SSH Keys

Previous
Using Global Search