Controls how Jenkins starts this agent.

Launch agents via SSH

Required on Windows only: Ensure either your Virtual Machine image includes SSH pre-installed or you select the Pre-Install SSH in Windows Agent option below

Launch agents by connecting it to the controller

Allows an agent to be connected to the Jenkins controller whenever it is ready. The agent machine will establish a connection to the Jenkins controller from the agenrt. This means that the agent does not need to be reachable from the controller; the agent just needs to be able to reach the controller.

The created Virtual Machine needs to automatically connect to Jenkins on startup. This can be achieved by installing the Jenkins agent as a service using the Initialization script in the VM first startup configuration. The following scripts are provided to help you with this: