Jenkins can not authenticate via SSH in Git

4

Upload a Jenkins to a VM Ubuntu Server 13 and I'm trying to create a job to be able to clone a repository via SSH. Already configured credentials and via command line works perfectly.

Have you missed any steps or settings?

WORKAROUND I removed the password from the public key and it worked, but there is still a need if I need to use it encrypted.

    
asked by anonymous 20.02.2014 / 16:30

4 answers

2

I think you forgot to put the git:// protocol in the Repository URL field, check that port 23 or server 22 is open.

    
20.02.2014 / 17:24
0

I do not know exactly how to solve it, but looking good in the Console Output, it is marked as using GIT_SSH to set credentials , however you are putting the authentication data in the Jenkins configuration. Is the Git connection using other credentials to connect to the repository?

    
20.02.2014 / 16:34
0

Do the following there is a program called putty that it generates an ssh key of dai you only put this chave ssh in git follow the steps of that site here: Git ssh putty just do not forget one thing in jenkins you put add key and instead of global you put to use ssh dai just add the key you put in git and that's it.

    
25.04.2014 / 20:41
0

Opa!

Go to Manage Jenkins - > Configure System - > Git and change to JGit . It works perfectly. Hugs

    
15.03.2016 / 19:36