Contents
We’ve just added key-based SSH access to our Enscale PaaS, and with many of our Windows users using PuTTY as their preferred SSH client it seems a good moment to give a brief PuTTYgen walkthrough. Here’s how to generate SSH keys using PuTTY.
Type of key | Number of bits |
---|---|
SSH-2 RSA or SSH-2 DSA | 2048 |
Enter a Key comment to help you to identify this key later. For example something describing where you use this key. We’re just using rsa-key-enscale since we’ll use this key with our Enscale PaaS
Your key is saved encrypted on disk, and the key passphrase will be used to unlock it when you want to use it. In other words, this protects your key from malicious use, so treat it like any other password – use something long and strong!
Save the private key part to your computer before exiting PuTTYgen (note: you can save the public key file too if you wish, but it’s not saved in OpenSSH format so it’s not useful here).
Don’t forget to copy/paste the public key (in OpenSSH format) from step #3 into your Enscale dashboard. See our Enscale SSH Access KB article for more details.
Connection > SSH > Auth
. Just browse for your .ppk file (private key saved from PuTTYgen). The other settings on this screen can be left as the defaults.Next time you can just Load the saved session and Open.
Congrats! Now you can use PuTTY to connect to your ENscale PaaS servers via SSH using key based authentication.