Android studio git using private key
Ok, finally got it working!
What I did - switched to .ssh folder, then replaced contents of id_rsa
key (as I understand, this is default ssh key of Android Studio) with contents of my ssh key
.
Still don't know the way, how can I point Android Studio to my ssh key
, but in such way it works.
As @CodeWizard mentioned, Android Studio was getting the key from the OS so using ssh-add to add the keys to the ssh-agent worked for me.
ssh-add ~/.ssh/id_rsa
More info: https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent