Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

How to change Unity Cloud build SSH key?

Discussion in 'Unity Cloud Build' started by jim00, Apr 21, 2017.

  1. jim00

    jim00

    Joined:
    Feb 1, 2015
    Posts:
    24
    I'm using Bitbucket git to connect to Unit Cloud Build, but when Unity ask me to enter the SSH key into Bitbucket. Bitbucket give me an error of "Someone has already registered that SSH key"

    How do I get a new SSH key from Unit Cloud Build?

    Thanks.
     
  2. SophiaC

    SophiaC

    Unity Technologies

    Joined:
    Sep 6, 2016
    Posts:
    235
    Hello,

    If you have added the SSH key to a repo previously, you will need to remove it from there first before you can add it to the BitBucket repo.

    If you're unsure where your key is being used, follow the instructions detailed here: https://help.github.com/articles/error-key-already-in-use/

    We provide the public key, which means you can configure as many hosts as you want with access to that public key. The restriction about adding a key more than once is something enforced by Bitbucket, GitHub, etc- not by us. The SSH key is shared across the organization, so is there any chance that someone could have already added it?

    - Sophia
     
  3. Gamegineer

    Gamegineer

    Joined:
    Jan 5, 2013
    Posts:
    5
    From the document you linked to:
    I no longer have permission to remove the key from the bitbucket account it was attached to so I need a new key pair created on the Cloud Build side.
     
    yoshida_nurve likes this.
  4. ross_unity

    ross_unity

    Joined:
    Oct 19, 2017
    Posts:
    4
    So, if a team member deletes a git repo containing your deploy key before it's removed then you're SOL?

    ...great design Unity team.