Jenkins CLI + PAM auth?

19 views
Skip to first unread message

Jackson Murtha

unread,
Apr 3, 2015, 9:28:03 AM4/3/15
to jenkins...@googlegroups.com
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?


Reply all
Reply to author
Forward
0 new messages