We’ve just added key-based SSH access to our Jelastic 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.

2. Enter the following parameters (the defaults are fine):

3. Note the OpenSSH compatible output at the top of the window. This is what you’ll need to copy/paste into the Jelastic dashboard. You can always access this again later using the ‘Load an existing private key file’ option.

4. 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-jelastic since we’ll use this key with our Jelastic PaaS.

puttyconf5. 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!

6. 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 Jelastic dashboard. See our Jelastic SSH Access KB article for more details.

1. Add the private key to PuTTY, under 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.

2. (optional) Configure your username, under Connection > Data so that you don’t have to enter it manually every time you connect. Your Jelastic SSH user ID is located in the SSH Access settings section of your Jelastic dashboard. We’re using user 3072 in our example. Make sure to replace this with your specific user ID.

3. Finally, configure the host name (gate.j.layershift.co.uk) and SSH port (3022) for the connection. We recommend that you save the session profile so that you can connect again easily in future.


PuTTY log

PuTTY Agent

PuTTY SSH setup

Putty ssh pem