Does anyone have both PAM auth + jenkins CLI working?
I had successfully been using jenkins cli like this:
` java -jar jenkins-cli.jar -i path/to/key command `
Now I switched to PAM auth, and login works from the admin area, but CLI quit working (stderr output below). I also tried using the --username and --password parameters, instead of private key, and it still doesn't work. (same exception)
Exception in thread "main" java.io.EOFException
at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
at hudson.cli.Connection.readBoolean(Connection.java:93)
at hudson.cli.CLI.authenticate(CLI.java:560)
at hudson.cli.CLI._main(CLI.java:471)
at hudson.cli.CLI.main(CLI.java:382)
Is there additional config I'll need, or does PAM auth simply not work with cli?