triggering remote builds from jenkins

Developer from somewhere

If you receive this error when triggering builds from your scripts:

Authentication required

<-- You are authenticated as: anonymous
Groups that you are in:

Permission you need to have (but didn't): hudson.model.Hudson.Read
... which is implied by: hudson.security.Permission.GenericRead
... which is implied by: hudson.model.Hudson.Administer
->

Then install this plugin, and then call the following url:

curl http://JENKINS_URL/buildByToken/build?job=JOB_NAME&token=TOKEN_NAME