I just repaved my home computer and though lost my old bitbucket ssh setup. Luckily Windows 10 now has a built in ssh agent so this is what i did:
> cd ~\.ssh
ssh-keygen -t rsa -C "[email protected]"
Create a new file ~\.ssh\config
:
Host bitbucket.org
IdentityFile ~/.ssh/bitbucket
… so that bitbucket knows which ssh key to use.
And we’re ready to connect!git clone [email protected]:my_user_name/my_repo.git