We have set up a team and a repository. We are now trying to access the repository with a public key provided by a remote system.
I added the public key to the repositorys' access keys. The SSH url is like this: ssh://git@bitbucket.org:teamname/my-remote-code.git
Now, when the remote system tries to clone the repository, the process fails. Here are the gradle/git messages:
Git stderr: Cloning into '/opt/workspace/build/customer-project'...
Git stderr: ssh: Could not resolve hostname bitbucket.org:teamname: Name or service not known
Git stderr: fatal: Could not read from remote repository.
Git stderr:
Git stderr: Please make sure you have the correct access rights
Git stderr: and the repository exists.
I guess the problem might be the ":teamname" in the url which should normally be a TCP port. But I don't know how to get around this issue!