no2b4go10

Q: Provide repository credentials for this bot

When trying to create a Bot within Xcode I am a little confused of how I can auuthenticate against my remote repo. What syntax do I use to authenticate over SSH?

Screen Shot 2015-03-09 at 22.19.23.png

Screen Shot 2015-03-09 at 22.19.53.png

 

This is my setup...

 

MacPro (Mid 2010) running Yosemite (My dev machine running Xcode 6.1.1 (6A2008a). This machine also has Xcode server 4.0.3 (14S350) running.

MacBookPro running same version of Xcode.

Synology NAS. This runs a Git Server Package.  I can create remote repo's on my NAS manually through terminal / SSH and everything works fine and as expected i.e. I can push / pull commit manually as well as through Xcode running on my MacPro and MacBookPro.


Posted on Mar 9, 2015 3:22 PM

Close

Q: Provide repository credentials for this bot

  • All replies
  • Helpful answers

  • by ogierussell,

    ogierussell ogierussell Aug 6, 2015 2:43 AM in response to no2b4go10
    Level 1 (0 points)
    Aug 6, 2015 2:43 AM in response to no2b4go10

    Not sure if you have solved this in the meantime but I'm doing this at the moment so just said i'd pass on what worked for me. In that type dropdown choose "existing SSH key". Here Xcode will fill in these details with the SSH keys on your current mac if you have them created. If you are running Xcode server on that machine then just enter a passphrase if you have one on your ssh keys and press ok. If no SSH keys appear here in the text boxes then just google how to create SSH keys and come back to this once that's done. However don't take these SSH keys that Xcode automatically fills if you are running your CI from an external mac like a mac mini. In that situation you want to get the ssh keys from the mac mini using "cat ~/.ssh/id_rsa.pub" and "cat ~/.ssh/id_rsa" in terminal and copy those keys into these text boxes. Also make sure to add the ssh keys to bitbucket or github or whatever you are using.

     

    Hope that helps someone,

    Liam.