-
Bug
-
Resolution: Unresolved
-
Minor
When trying to perform a CLI action using SSH, the reverse proxy auth plugin can not find the username. It gives a stack trace and exits.
FYI: i filed another issue relating to Reverse Proxy Auth as well. It may or may not be related: JENKINS-24415
Stack trace
$ ssh jenkins.company.com help
org.acegisecurity.userdetails.UsernameNotFoundException: myUserName
at org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm$3.loadUserByUsername(ReverseProxySecurityRealm.java:108)
at jenkins.security.ImpersonatingUserDetailsService.loadUserByUsername(ImpersonatingUserDetailsService.java:32)
at hudson.model.User.impersonate(User.java:282)
at org.jenkinsci.main.modules.sshd.AsynchronousCommand$1.run(AsynchronousCommand.java:101)
at java.lang.Thread.run(Thread.java:701)