Knowledge Base: Generating and Adding SSH keys on Windows

To authenticate with Beanstalk for Git, you will need to generate an SSH key pair. This process only requires a few steps, but you first need to install msysgit (use the full installer).

Generating a key pair

To do this you need to run Git Bash, which can be found in the start menu. Once opened, run the command:

$ ssh-keygen -t rsa

It will ask for location and pass phrase. Accept the default location (usually C:\Documents and Settings\username\.ssh\ or C:\Users\username\.ssh) by pressing enter. After that, make sure to set a strong pass phrase for the key.

Now that the keys are generated, open the file id_rsa.pub with a text editor. The contents of this file is the public key, copy it to your clipboard.

Adding your public key to Beanstalk

Once your key pair is generated, you can add it to Beanstalk. Login to Beanstalk and click on My Profile > Keys. Once there, you will see a textarea where you can paste your public key. Paste the public key into the box, click save and your done.