Hi, for the integration that you are doing. you need to copy the public key of jenkins and paste it into the git then only your git will authenticate the jenkins server .
*Robert Rajendra* Associate Network/Server Support Engineer IT Hands P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> On Fri, 1 Feb 2019 at 04:21, Dirk Heinrichs <[email protected]> wrote: > Am Freitag, den 01.02.2019, 11:51 +0530 schrieb Archana Srichandan: > > Thanks for your reply. I gave the url as serverip:path to repository, The > username is given as the user of the remote server to which to do SSH. I > have created a private key for the user which I am logged in into the > jenkins server. I am copying the private key directly and also the > passphrase. Still I am not able to clone from the repository. Please let me > know if I am doing something wrong. > > > Does your Jenkins user (the one that runs your Jenkins master/Tomcat) have > the SSH host key of the Git server in its known_hosts file, or, i.o.w., did > you try to do an SSH login from your Jenkins master to the Git server once > to accept the host key? > > HTH... > > Dirk > > -- > > *Dirk Heinrichs* > Senior Systems Engineer, Delivery Pipeline > OpenText ™ Discovery | Recommind > *Phone*: +49 2226 15966 18 > *Email*: [email protected] > *Website*: www.recommind.de > Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach > Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon > Davies, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer > HRB 10646 > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail sind nicht gestattet. > > -- > 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/10044f8e1064510b1dd7959d55604192f16f554d.camel%40opentext.com > <https://groups.google.com/d/msgid/jenkinsci-users/10044f8e1064510b1dd7959d55604192f16f554d.camel%40opentext.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/CABbC_KFfJn8%3D0K5Z1OWTkCfykiXbGhtrxLwWGXroBrWiO2s3dA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
