Android Studio - Push failed: fatal: Could not read from remote repository

前端 未结 12 1356
醉酒成梦
醉酒成梦 2021-01-31 07:26

I have a git project at Android Studio and a remote at BitBucket and I changed it to use SSH instead of HTTPS. I can make everything work using Atlassian\'s SourceTree, but in A

12条回答
  •  眼角桃花
    2021-01-31 08:02

    Despite my SSH-executable was set to Native I was getting that error because I have set password for SSH key file.

    I haven't found the way how to specify password in Android studio but there is another solution, you can remove password which can be done with $ ssh-keygen -p. Then just confirm file location, enter your old password and leave new password blank.

    Taken from How do I remove the passphrase for the SSH key without having to create a new key?

提交回复
热议问题