SSH error: Permission denied, please try again
I have worked on some project in my System and because of certain Reason i had to replace my System and I have taken backup for all my android project files.
When i tried to Build same project in new System i am not able to push my code to the GitHub
CodePudding user response:
I have taken backup for all my android project files.
That might not be enough: SSH would use key files in ~/.ssh
(your $HOME/.ssh
on Linux/Mac, or %USERPROFILE%\.ssh
).
If you have not transferred those, you would need to regenerate a new key pair, and register the public key to GitHub, in order to restore authentication.