title: Getting "Error: you must authenticate to access this jenkins" when trying to run "Java -jar jenkins-cls.jar -s http://localhost:8080 /help"
body: <p>Getting below error</p>
  
  <p><code>Error: you must authenticate to access this jenkins" when trying to run "Java -jar jenkins-cls.jar -s http://localhost:8080 /help</code></p>
  
  <p>Steps performed as below,<br>
  1. Copied jenkins-cls.jar to the local drive.<br>
  2. Opened command prompt and navigate to path where jenkins-cls.jar is saved.<br>
  3. Type "Java -jar jenkins-cls.jar -s <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> /help" and press enter.</p>
  
  <p>It should ask for pass-code but instead, it displayed message "Error: you must authenticate to access this jenkins".</p>
  
  <p>Any help to resolve this query is highly appreciated.</p>