Adding an SSH key

A step-by-step tutorial on how to add keys to Metal for template installations

Why should you use SSH keys?

SSH keys provide cryptographic authentication that is significantly more secure than password-based logins. With key lengths of 2048 bits or more, SSH keys are virtually impossible to brute force, eliminating the risk of weak or compromised passwords.

Unlike passwords, SSH keys cannot be intercepted through network sniffing, keyloggers, or man-in-the-middle attacks. The cryptographic handshake process makes sure that even if traffic is monitored, attackers cannot replay or forge authentication attempts.

How to add SSH keys to your metal account?

1. Go into the SSH Keys tab on your metal account

Start by going into your account settings on Metal, which you can enter by first pressing your name in the right top [1], and then clicking on My Account [2]

Then go into the SSH Keys tab

2. Add an SSH Key

You can do this by either pressing the Add Your First Public SSH Key [1] button if you are doing this for the first time, or by pressing the [2] button on the bottom right.

Then enter in the following information:

  • Enter Name [1]: can be any name that you'd like

  • Paste your public key [2]: Paste in your public key. You can find it in the file with the extension .pub

  • Enter short description [3]: Enter a short description of your SSH key

3. Save the SSH Key

To do this, just click the ADD button located on the bottom left

And just like that, you have successfully added an SSH key to your metal account which you can use when reinstalling your dedicated server using one of our templates!

Last updated