It's not my user that authenticates. The cli connection is initiated by an external application on a different server over ssh. It connects via a user in the Jenkins internal user database that is set up with ssh key. As of 2.516.1, these users are not usable with AD activated, which we have to have for security purposes. The only 2 ways I can get the ssh to authenticate is 1) turn off security or 2) set the security realm to the internal jenkins user database. As soon as I turn on AD, it ceases to work. The research I've done says that with 2.516.1, it is now default that the internal user database will be used if AD fails, but that doesn't seem to be the case from what I'm trying. Any ideas? Thanks!
On Thursday, September 11, 2025 at 8:22:09 AM UTC-6 [email protected] wrote: > Use your user profile (the head icon in the top right). Then under > security you can add your public keys. > > [email protected] schrieb am Montag, 8. September 2025 um 16:42:17 UTC+2: > >> Anyone have any clue on this? Thanks! >> >> On Fri, Sep 5, 2025 at 7:44 AM [email protected] <[email protected]> >> wrote: >> >>> Yesterday I had to update AD since we moved to 2.516.1. Not sure how I >>> had it set up before but I can no longer ssh from an automated job to start >>> a build. It's giving permission denied. Looking at the documentation for >>> the CLI, it looks like I had a user set up with their public key under >>> Security/Users. Well since I have AD selected for security realm, I don't >>> have the option to set up my users. How do I do both like I did before? >>> Thanks! >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Jenkins Users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/jenkinsci-users/BGiM4-7v0NI/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/jenkinsci-users/74a21acd-c768-4317-acf5-68fb4a6bcad4n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/74a21acd-c768-4317-acf5-68fb4a6bcad4n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-users/19c4b2e9-3a29-4343-af89-2571cb30b498n%40googlegroups.com.
