-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
centos
When issuing the command 'java -jar jenkins-cli.jar -s https://<server>:<port> --username <username> --password <password>' I keep getting the message 'Failed to authenticate with your SSH keys. Proceeding with anonymous access' Now, in and of itself this doesn't appear to be a problem, but I have the system configured for LDAP authentication and the SSH keys message is invalid. If it failed to authenticate via LDAP, please provide a message that is correct. Log file shows:
Aug 30, 2011 4:54:07 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #15 from /192.168.192.182:39814
Aug 30, 2011 4:54:08 PM org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator authenticate
WARNING: CLI authentication failure
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
at java.io.DataInputStream.readUTF(DataInputStream.java:572)
at java.io.DataInputStream.readUTF(DataInputStream.java:547)
at hudson.cli.Connection.readUTF(Connection.java:82)
at hudson.cli.Connection.verifyIdentity(Connection.java:191)
at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:39)
at hudson.cli.CliManagerImpl$1.run(CliManagerImpl.java:99)
Some additional information regarding this issue. The Message 'Failed to authenticate with your SSH keys. Proceeding with anonymous access' is displayed. However, right after login, I issue the new who-am-i command and it displays the correct LDAP information. It appears that the message being displayed is incorrect and should not be displayed.
In the command, I left out the login after the port and before the --username - sorry.