Our code uses git commands like git clone, git commit etc..
to push to repository we need to add ssh keys to bitbucket server. we are generating keys through docker file. Is there a command to push the generated keys to bitbucket server.
For bitbucket server you could use the following REST endpoint with curl for example
https://docs.atlassian.com/bitbucket-server/rest/6.2.0/bitbucket-ssh-rest.html#idp8
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.