ef-labs / stash-hook-mirror

An Atlassian Stash repository hook for mirroring to one or more remote git repositories.
MIT License
77 stars 58 forks source link

Issue with mirroring with SSH #56

Closed christiangalsterer closed 6 years ago

christiangalsterer commented 6 years ago

Hi @adrianluisgonzalez,

I have an issue with mirroring using SSH. In the documentation it is mentioned "If using ssh, ensure your private key is installed for the user stash runs under". WHat is meant with "your" in this case. A "technical users" for the Bitbucket instance which needs to be created or the private key of the users which makes some changes leading a mirror action. I guess/assume the first one but wanted to double-check before trigging some internal IT requests.

adrianluisgonzalez commented 6 years ago

Correct, it should be an SSH key for the OS user that bitbucket server runs as. I agree it is a bit confusing. Feel free to suggest clearer text.

christiangalsterer commented 6 years ago

Ok, thanks for the clarification and now it is working. Maybe the documentation can be updated with an example to make it more clear.