I have a droplet in digital ocean and configured a deploy key. I added the public key to my repository as well. Still the droplet asks for my password during cloning the repository to my droplet and deny the permission while deploying. Why this happens? Is there any other way through?
Hello Abhishek and welcome to the Community!
The issue with being prompted on the digitalocean side after configuring your SSH key sounds like it is possibly an SSH key import issue. I have not personally used digitialocean, but the key you generate on Digitalocean should be imported into Bitbucket so it may be used as the authentication/trusted method. If you’re still being prompted for a password, it sounds like there may be an issue with the key or it was not imported correctly.
There is a similar question within the Digitalocean forum at Bitbucket User Being Asked for Password Each Time They Git Pull/Push.
I hope this proves helpful and you’re able to get connected without constant password prompts.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.