There are some tasks that are only possible/easier to do in git bash (or Terminal) than in SourceTree. I have most of my repositories on bitbucket and use ssh key.
The problem I have is that even though I load my key with SourceTree (Pageant putty client) the terminal requires me to load it again. It can be a pain with longer keyphrase as well as once the terminal is closed and opened again it is required to enter password again.
As you can see agent is running, key is loaded, but I am still asked to enter my passphrase in git terminal/git bash.
Is there a way to load the key only once?
Thank you
From Sourcetree, open the PuTTY Key Generator dialog by going to Tools > Create or Import SSH Keys. Click Load, navigate to your SSH folder, and click the private key. Make sure you're looking at All files if you don't see your private key. Enter your passphrase for the SSH key and click OK.
From Bitbucket, go to the repository and click Repository settings. Click Access keys from the left menu. Press Add key. From the Add SSH key dialog, enter a Label and paste the public key from the clipboard.
In sourcetree settings, do you have the
Automatically start SSH agent when SourceTree opens checkbox selected?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With