Wednesday, May 26, 2010

Hudson iPhone builds part 1

The first big step we had to take to get iPhone building was to connect up our Mac to the Hudson server. The connection would have to get around password prompting, which does not work out of the box on a Mac. So after much investigation here are the steps we had to take:

1. For non-interactive builds and deploys, SSH has to be configured so it does not prompt for passwords. It seems that by default Mac OSX 10.6.2 comes with password prompt turned on
2. If the Finder menu is open on the top of the Mac window, click on Go - Go to Folder
3. Type in /private/etc and click Go
4. Right click on the sshd_config file and choose Copy. Right click on the desktop and Paste Item
5. Open the file with TextEdit the file. There are 2 key settings. Remove the comment (#) from the lines so they are active:
PasswordAuthentication yes
ChallengeResponseAuthentication no
6. Save the file on close of TextEdit
7. Right click and copy the file, and paste back to the /private/etc folder. Overwrite the existing

No comments:

Post a Comment