How to correctly use PuttyGen to generate an SSH key to use with the CloudSigma webapp?
Putty is a popular SSH client for Windows, allowing Windows users secure SSH access to Linux VMs running on CloudSigma’s cloud. You can download PuTTY and PuTTYgen here:
Generating a set of RSA keys with PuTTYgen to securely access CloudSigma’s cloud:
Click the Generate button
Move your mouse pointer around randomly in the blank area of the Key section below the progress bar until the progress bar is full. This will ensure the key is as random and unique as possible. When the progress bar completes, a public / private key pair has been generated.
In the Key comment field, enter any comment that will help you identify this key pair. Examples include your e-mail address, nickname etc. The key comment is particularly useful in the event you end up creating more than one key pair.
Optionally, type a passphrase in the Key passphrase field then re-type the same passphrase in the Confirm passphrase field. Please note that should you choose to complete this step, you will not be able to use your keys for automated processes, as you will be prompted to enter this phrase each time the key is used.
Click the Save public key button and save your new public key.
Click the Save private key button and choose whatever filename you’d like. You can save it in the same location as the public key, but it should be a location that only you can access and that you will NOT lose! If you lose your keys and have disabled username/password logins, you will no longer be able log in!
Adding PuTTYgen generated public / private key pairs to your CloudSigma account:
Now that we have created our public / private key pair, we can proceed to upload it to your CloudSigma account. Please note that should you ever lose your public key, simply load your private key in Puttygen and it will be displayed to you.
Please do NOT click on ‘save public key’, as Puttygen uses a different format to OpenSSH. Thankfully, Puttygen does display the OpenSSH-compatible public key in the field labeled ‘Public key for pasting into OpenSSH’. Select all the text in this field and copy it to clipboard.
Go back to the CloudSigma SSH key screen and paste this into the ‘public SSH key’ field. Click save.
Open Putty and expand Connection / SSH / Auth and under ‘Private key file for authentication’, click browse and locate the Private Key (.ppk) that Puttygen created. In order to avoid having to manually add your SSH private key to Putty every time it launches, go back to the ‘Session’ menu, give this session a name and click save.
CloudSigma is 100% Swiss owned and based cloud service provider. We offer cloud locations in Europe, APAC and the United States. Our customers achieve complete control and flexibility over their cloud environments. Run any operating system unmodified (including Linux, Windows, FreeBSD and more). Craft your environment as you like with completely flexible server sizing, high availability, tiered storage, advanced networking and incredible performance.
Swiss Headquarters Badenerstrasse 549
German Office Friedrich-Ebert-Anlage 36
60325 Frankfurt am Main
General Enquiries: firstname.lastname@example.org
US Office 2225 East Bayshore Road, Suite 200
Palo Alto, CA 94303-3220
Polish Office Rakowiecka 30A
Customer Support: email@example.com