Setting up SSH keys for Bitbucket on Windows

后端 未结 7 1473
死守一世寂寞
死守一世寂寞 2021-02-05 12:35

First, I am an absolute noob with git, repos and command line. I have repo on Bitbucket and I basically want to be able to push to the repository via gitbash without entering a

7条回答
  •  孤街浪徒
    2021-02-05 13:19

    Following this guide

    I think you are missing that after you have generated the SSH keypair, you need to add the SSH private key to pageant, PuTTY’s key management tool.

    First, run pageant, which can be found in the directory where you have installed PuTTY package (remember, by default: c:\Program Files\PuTTY). You will see a small icon in your system tray (see the screenshot to the right), which indicates pageant is started. Click on the icon and in pageant window click “Add Keys”. Add the private key that was generated by puttygen in the previous step. The private key has extension .ppk, that is the easiest way to distinguish it from the public key you have created.

    After you add the SSH key, you should see it in pageant key list.

提交回复
热议问题