Using SSH Agent Plugin On Jenkins | Linux ssh-keygen command | SSH-Agent | Jenkins Windows

preview_player
Показать описание
If you are working with Linux, Virtual Machine, git, and clouds now a days, you might have already heard about SSH keys. SSH (Secure Shell) keys are an access credential that is used in the SSH protocol. SSH protocol is heavily used now a days, to login remotely from one system into another, and its strong encryption makes it ideal to carry out tasks such as issuing remote commands and remotely managing network infrastructure and other system services.
In this video, we are going to see how to work with SSH-agent plugin and how you can use in Jenkins. The servers used are Windows running Jenkins, and remote server is Ubuntu20.
Note that, you will need git installed in the Windows machine in order for the SSH-Agent to work properly.
Pls do like and subscribe, and comment about the video session.
Thanks!
+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
0:00 Intro
1:07 About SSH-Keys
4:58 Generating SSH-Keys
6:42 Generating SSH-Keys in Linux(ssh-keygen)
8:52 Using SSH-Keys and SSH-agent in Jenkins
12:37 Setting SSH-Agent path in Windows
15:38 Examples of SSH-agent in Jenkins
19:32 Summary
+++++++++++++++++++++++++++++++++++++++
Thank you and Happy Learning.
THANKS A LOT FOR WATCHING!! Please give this video a 👍 THUMBS UP if you found it helpful and 📢 COMMENT if you would like to say something or ask a question. This will motivate me to make more such videos 🙏🙏
BTW, DON'T FORGET TO SUBSCRIBE!!
+++++++++++++++++++++++++++++++++++++++

--- The full Python Unit Testing videos:

--- Python Testing Course in Udemy:

--- Git Tutorials:

#sshagent
#Jenkins
#Linux
Рекомендации по теме
Комментарии
Автор

Thanks a lot, man !! No one saying about copy the public key to the authorized key. Thanks a lot

atuljaiswal
Автор

Thanks alot man this window issue was the blocker ..it really helped

AshishYadhuvanshi
Автор

You saved me a lot of time, I was copying the private ssh key without the RSA PRIVATE and RSA PRIVATE that's why it was not working...
Thank you!

lucasanddre
Автор

thank you for the video, exactly what i was looking for

bereketfiseha
Автор

how to connect to another EC2 intance if my jenkins server is on another different EC2 instance?

AdibPeerzade
Автор

Hey Kumar,
When I checked where ssh-agent on my windows machine it's showing only one path which is in windows/system32/openssh.. what I can do?

mohdmuzammil
Автор

Thanks! can we pass private key in Jenkinsfile (script) itself. I want to generate script with private key as I do not have Jenkins admin access.

rakeshpatil
Автор

I am trying this for deployment on linux RHEL. I am using same credential ID in ssh command which I have saved in Jenkins credentials still it is giving "Permission denied (publickey, gssapi-keyex, gssapi-with-mic, password)."

YogeshYadav-hvbr
Автор

how to execute .exe file on remote machine(windows server) using jenkins job(Linux machine)

naanireddy
Автор

Hey I am getting same error on Linux.... Suitable ssh agent provider not found ... please guide

amitsamuel