A have an address of git repository.
Also I have a private key in open-ssh format.
Is it possible for git in Android Studio to use it?
I tried to search some info, but no luck at this time.
Thanks for any useful information!
Edit. My steps:
1. I put my private key in .ssh folder (Users/user).
2. In Android studio I run: File - Settings - Version Control - Git and put the path to Git executable.
3. Then VCS - Checkout from vesrion control - Git. I put repository address there.
But I don't have username and password, only key.
If I try:
got the following:
And how Android Studio would know, that it should take my private key instead of standard id_rsa file?
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.