How to add a Mac Agent as a service? Félix Belzunce Arcos July 13, 2022 11:23 Updated The content of this article has moved to the new documentation site. Related articles What do I need to know about using macOS agents with Jenkins? How to Connect to Remote SSH Agents? Why is the option 'Launch agent by connecting it to the controller' not available How do I run a different Shell interpreter in a Pipeline Script? Java Heap settings Best Practice Comments 2 comments Sort by Date Votes Erik Purins November 07, 2017 17:20 The manual creation of service link is dead. https://web.archive.org/web/20160705053818/http://www.parsed.io/setup-a-mac-slave-for-jenkins/ is the last copy I can find. 0 Carlos leonardo camilo Vargas Huamán September 24, 2018 04:44 Thank you very much for the great information. I just have a question. I currently have a macOS High Sierra(my localhost machine). It was really amazing to be able to connect from my Jenkins master node to my macOS slave node through the Launch Agent via Java Web Start launch method. But I actually wanted to connect to my Unix slaves via SSH but I didn't get any result. In fact I can say that is so difficult to do it when working with macOS. I've tried a lot of things: 1. I've enabled the Preferences -> Sharing -> Remote Login -> Allow access for : All users. When I simply open my terminal: ssh username@private_ip I always get ssh_exchange_identification: Connection closed by remote host message. I've used the -v parameter the see the log and I always get errors like related to key_load_public. In conclusion, starting from this error all the others attempts I make have no results :( In a nutshell, the only way to connect o macOS slave is via Launch Agent via Java Web Start? 0 Please sign in to leave a comment.