Setting up a Mac mini from MacStadium for headless CI
I recently got an offer from MacStadium to use one of their dedicated Mac minis to perform CI and testing tasks for my Mac-based open source projects (for example, my Mac Dev Ansible Playbook, which I use to configure my own Macs).
So I thought I'd document a little bit in this blog post about how I configured the Mac mini for more secure remote administration, since Macs tend to be a little more 'open' out of the box than comparable Linux machines that I'm used to working with.
Securing SSH
First of all, I used ssh-copy-id
to add my SSH key to the default administrator
account on the Mac mini that was created for me: