17.12.2020

Generate Public Key Putty Mac

Generate Public Key Putty Mac Rating: 5,5/10 7679 reviews
  1. Putty Generate Key
  2. Putty Public Key Location

With PuTTYgen you can generate SSH key pairs (public and private key) that are used by PuTTY to connect to your server from a Windows client. The private key will be stored on your local machine, while the public key has to be uploaded in your dashboard. When connecting with PuTTY, your session loaded with your private key will generate a signature which will be authenticated by the server using the matching public key.

Step 1: Download PuTTYgen

  1. Sep 26, 2019  Manually generating your SSH key in macOS. Modified: 26 Sep 2019 21:20 UTC. You generate an SSH key through macOS by using the Terminal application. Once you upload a valid public SSH key, the Triton Compute Service uses SmartLogin to copy the public key to any new SmartMachine you provision. Choose to Import Public Key and paste your SSH.
  2. I have generated a ssh key in the terminal of my Mac. How can I use this private key in Putty on my Windows pc? I don't want to generate a new ssh key for each computer.

Run it on your local computer to generate a 2048-bit RSA key pair, which is fine for most uses. Ssh-keygen The utility prompts you to select a location for the keys. By default, the keys are stored in the /.ssh directory with the filenames idrsa for the private key and idrsa.pub for the public key.

Simply download and save the PuTTYgen executable (.exe) file from this link. Since it’s a standalone application, you will not need to perform any installation steps for it.

Step 2: Generate SSH Key

Putty Generate Key

  1. Open PuTTYgen.
  2. Select these parameters:
    • Jelastic requires an SSH-2 RSA (recommended) or SSH-2 DSA key
    • The number of bits can be either 2048 or 4096 (recommended). This defines the strength of the key and its resistance to brute-force attacks.
  3. Click the Generate button.
  4. Move your mouse randomly within the empty area to generate your key until the progress bar fills up.
  5. In the next screen you can see the following:
  6. Your Public Key

    You can copy and paste this key directly to your Jelastic dashboard. To see how to add your public key to Jelastic, please see: How to connect to Jelastic using PuTTY

    Your Key Fingerprint

    In this field you should enter something to help you remember what you will use this key for. For example if you are going to use this key pair to connect to your Jelastic environments, you could enter ‘Jelastic’ here.

    Key passphrase

    Here you can set a password you can use to encrypt your Private Key. While this is not mandatory, it is strongly recommended to ensure that nobody from your workstation will be able to connect to your server without knowing the passphrase.

    If you are using SSH for scripts, you will need to leave the Key passphrase field empty.

Step 3: Save your SSH key

You can either copy and paste your public key into the Jelastic dashboard, or you can click the ‘Save public key’ button to save the file on your computer. You can open it with a simple text editor, like Notepad.

Generate Public Key Putty Mac

You should save the private key on your computer as a .ppk (PuTTY Private Key) file.

Putty Public Key Location

Step 4: Load a previous SSH key

If you would like to change the comment or passphrase for an existing SSH key, or you would simply like to view the fingerprint or maybe save another copy of the public key, you can always load your SSH key in PuTTYgen.

Key
  1. Open PuTTYgen.
  2. Click Load
  3. Select your SSH Private Key file.
  4. Enter your passphrase if prompted and click OK.
  5. You will see the Public key, fingerprint and related information in the PuTTY Key Generator window.

Important: If you make any changes, don’t forget to save your Private key!Cisco rsa key generation command.