Resolution
Use this gist.
The script will fail quickly if you miss a parameter, so if you see errors like:
./create-ssh-node.sh: line 99: JENKINS_URL: unbound variable`
it means you missed a parameter.
See ./create-ssh-node.sh -h
for usage.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.