Install The Public Key On Your Bitbucket Account

  • Open a browser and log in to Bitbucket.
  • Choose avatar > Account from the menu bar.
    The system displays the Account settings page.
  • Click SSH keys.
    The SSH Keys page displays. It shows a list of any existing keys. Then, below that, a dialog for labeling and entering a new key.
  • Switch to your local desktop and start the PuTTYgen program.
  • Press Load.
  • Navigate to and open your default private key.
  • Enter your passphrase when prompted and press OK.
    The system displays your public key.

  1. Select and copy the contents of the Public key for pasting into OpenSSH authorized_keys file field.
  2. Back in your browser, enter a Label for your new key, for example, Default public key.
  3. Paste the copied public key into the SSH Key field:

  1. Press Add key.
    The system adds the key and it appears in the SSH Keys listing.
  2. Close PuTTYgen.