Hi,
I would like to give read only access to a repository and have tried adding the public key of my server. I always see the above message.
It is true we are using this key to access a different project.
Am I doing some thing wrong. It seems strange that a single server cannot access two different project/repositories.
I have seen various hacks that ask me to modify the ssh/config file but they seem very inelegant.
Is there a better way?
Thanks
Hi David! The SSH key links a Bitbucket account with a machine, so if you're trying to access a different Bitbucket account or you're trying to access your account from another machine, you'll need a different SSH key. To do so, you can follow the instructions at Set up additional SSH keys.
Secondly, if you want to restrict access to one of your repositories, you'll need to do that from the repository's setting page: if the repo is private, nobody will be able to see or access it; if you want a user to see it, you'll grant him 'Read' access to your repo; if you want him to also be able to contribute, you'll grant him 'Write' access to your repo; if you want him to have full control, you'll give him 'Admin' permissions. You can learn about this at Set users permissions.
Hope that helps, David! Let us know if you have further questions.
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.