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.
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.