- 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.
- Select and copy the contents of the Public key for
pasting into OpenSSH authorized_keys file field.
- Back in your browser, enter a Label for your
new key, for example, Default public key.
- Paste the copied public key into the SSH Key
field:
- Press Add key.
The system adds the key and it appears in the SSH
Keys listing.
- Close PuTTYgen.