1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  6. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    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:
    9
    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.