SSH integration between Jenkins & GitHub | Jenkins GitHub Integration using SSH Keys |Jenkins GitHub

Veröffentlicht am: 30 Juni 2021
auf dem Kanal: Cloudamy
31,653
335

In this tutorial, you'll learn how to integrate Jenkins with GitHub securely using SSH keys to access and checkout code from private repositories without using usernames or passwords.

For detailed information and source blog, visit- https://www.coachdevops.com/2021/06/h...

Note: Support for password authentication was removed on August 13, 2021. Please use a personal access token or SSH keys instead

We will see how to connect to GitHub from Jenkins using SSH keys instead of using user name and password. It is also a good practice to use SSH keys in Jenkins jobs instead of using user name and password.

Create SSH keys in your Jenkins EC2 instance

ssh-keygen

enter four times. this will create keys in .ssh folder.

Copy and paste the public key
sudo cat ~/.ssh/id_rsa.pub

Add public Keys into your respective GitHub
Add Private Keys in Jenkins Master
Choose that keys in Jenkins Job

If you found this video helpful and want to go deeper into DevOps, Cloud Computing, and real-world project implementation, we have got more for you! Check out our full Master DevOps Program at http://www.cloudamy.com/

Connect with Coach AK on
LinkedIn   / ananthkannan  

#Jenkins #GitHub #SSHKeys #DevOps #CI_CD


Auf dieser Seite können Sie das Online-Video SSH integration between Jenkins & GitHub | Jenkins GitHub Integration using SSH Keys |Jenkins GitHub mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Cloudamy 30 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 31,653 Mal angesehen und es wurde von 335 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!