How can we help you today?
lifebuoy-100

Do you need help with this?

Our team of experts are standing by to assist. Just open a ticket and we'll lend you a hand.

Stay in the know

Enjoy exclusive access to discounts and knowledgeable tips.

We don’t spam! Read our privacy policy for more info.

< All Topics
Print

Generating Public/Private Keys with PuTTYgen

Table of Contents

Use PuTTYgen to generate a public/private keypair to use to connect to either your NodeSpace Elite Hosting Account, a VPS server, or your Dedicated Server via SSH. We strongly recommend making sure that you lock down SSH and require public/private keypairs for security purposes.

  1. Download PuTTYgen (part of the PuTTY installer) and run it.
  2. When PuTTYgen loads, click on the Generate button. Ensure that SSH-2 RSA is selected and the keysize is 2048 bits.
    8DPPy8oIrJCQkAAAAASUVORK5CYII=
  3. Move your mouse in the empty area to generate randomness for the key.9OP3tyOT3H8BdinQtgMVUAwAAAAASUVORK5CYII=
  4. In the top box, copy this to your authorized_keys file.
    nano ~/.ssh/authorized_keys
    Click the Save Public Key button to save a copy of your public key. Give this key to other providers to authenticate using your private key.
    Click the Save Private Key button to save your private key. Be sure to enter a passphrase so that your key cannot be used without authorization.8HhgQgUW5SEX4AAAAASUVORK5CYII=
  5. Now you can connect using SSH and your keypair.