Username / password is supported only with http/https protocol. If you're using ssh protocol, you'll need to use a private key.
Private key is supported only with ssh protocol. If you're using http or https protocol, you'll need to use username / password. The message "too many authentication failures" may hint that the target system has "locked you out". Mark Waite On Tue, Oct 24, 2017 at 8:53 AM Robert Hales <[email protected]> wrote: > I use both these methods on jobs. Usually I use the Login/Password on > https urls. But it definitely works. Not sure how I can give you more > information to help in your situation. It just seems to be bad ID or PW/ssh > key. > > > On Tuesday, October 24, 2017 at 8:48:10 AM UTC-6, Samuel Mutel wrote: >> >> Hello, >> >> I setup a multibranch pipeline job in Jenkins. >> >> In branch sources, I used GIT. >> >> With this job, for GIT authentication I tried to use credentials stored >> in Jenkins: >> - SSH private key stored in the master >> - Login/Password >> >> Unfortunately it does not work ... >> >> ERROR: [Tue Oct 24 16:15:13 CEST 2017] Could not update folder level actions >> from source 61faff97-9161-4212-87c4-399a6b858ae0 >> hudson.plugins.git.GitException: Command "git ls-remote >> git@XXXXX:XXXXXX.git" returned status code 128: >> stdout: >> stderr: >> Permission denied, please try again. >> Permission denied, please try again. >> Received disconnect from XX.XX.XX.XX port 22:2: Too many authentication >> failures >> Authentication failed. >> fatal: Could not read from remote repository. >> >> >> Thanks >> >> >> >> -- > 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 on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/8474205d-69d5-458c-9908-1356bbdbf7da%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/8474205d-69d5-458c-9908-1356bbdbf7da%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEK4zo31mO-goQPYPPVvpf0jJ%3DRe9bRruv-pKSUDzyouw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
