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

Показать описание
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
Add public Keys into your respective GitHub
Add Private Keys in Jenkins Master
Choose that keys in Jenkins Job
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
Add public Keys into your respective GitHub
Add Private Keys in Jenkins Master
Choose that keys in Jenkins Job