This private key can be used with PuTTY to connect to a VM created with OpenStack. You should also add a "Key passphrase" at this point to use when accessing your private key and then click "Save private key". Then select the "All Files (*.*)" filter, select the ".pem" file you downloaded from OpenStack, and click "Open". In the new Windows PowerShell window, type ssh-keygen and select the enter key. This key can be converted to a format used by PuTTY by clicking the "Load" button in PuTTYGen. When a key is created on OpenStack you obtain a key with a ".pem" extension. Key generation and usage with PuTTY is demonstrated in this video : Easily setup PuTTY SSH keys for passwordless logins using Pageant. Browse to your SSH private key, select the file, and then click Open. See connecting with PuTTY using a key pair connecting with MobaXTerm using a key pair or connecting with WinSCP. Open PuTTYgen, go to Conversions, and then click Import key. Test the new key by connecting to the server using SSH. You may also use ssh-copy-id for this purpose, if it is available on your personal computer.
This is what you need for github or the authorized keys file. To get the base64 text of the public key, click copy to keyboard. Click Generate to generate a public/private key pair. The public key associated with the smartcard is now loaded into the putty agent. In the Number of bits in a generated key box,enter 2048. For more about this, see SSH Keys: Using CCDB. Set the Type of key to generate option to SSH-2 RSA. " and paste it into the box at CCDB -> Manage SSH Keys.
Copy the contents of the box titled "Public key for pasting into OpenSSH. This will let you to use it to log in to any Compute Canada HPC cluster. We encourage you to register your SSH public key with the CCDB. Installing the public part of the key pair Installing via CCDB It is conventional to save the public key with the same name as the private key, but here, the extension is. Enter a passphrase for your SSH key in the Key passphrase and Confirm passphrase fields. When SSH key generation is complete, you see the public key and a few other fields. As the SSH key generates, hover your mouse over the blank area in the dialog.
#Ssh keygen windows putty generator#
Remember this passphrase, you will need it every time you reload PuTTY or MobaXTerm to use this key pair. You will then be asked to move your mouse around to generate random data to be used to create the key. (Type "RSA" is also acceptable, but set the "Number of bits" to 2048 or greater.)