Jenkins Master Slave Setup over ssh using SSH keys

preview_player
Показать описание
This Video explains how can we connect Jenkins Slave using SSH user and key combination to Jenkins Master. Explains each and every step involved in Master-Slave Setup with a Sample Pipeline job testing the connection.

Please do Subscribe for Training Videos on Automation, DevOps, Cloud, Testing and many more.
Рекомендации по теме
Комментарии
Автор

thank you, i have one doubt. if i want choose label based user login (agent user name) in jenkins ?? for example two users using same job based on user how pick up agent automatically.

talari
Автор

I'm getting ssh authentication failed..Even after did whatever you had shown in the above video

challabhanuprakash
Автор

Bro, you are a life saver!
THANK YOU!

jaxparrow
Автор

setup done and pipeline also build, but while checking the build job at given path is not there, even freestyle job test which are presented.
can you hellp us what has missed up.
Running on node in

SandeepSingh-hnit
Автор

thanks a lot, after trying more than 10 times by seeing different videos i was finally successfull by watching your tutorial

kishoregowrish
Автор

Hi Thanks a lot for the video..I am getting error while doing scp from jenkins installed machine permssiion denied pubkey password.Please help me on this error...

poornimasridhar
Автор

Thank you so much for the video.
Can you please create a video how to create an image and run that image over play with docker cloud service through Jenkins?

JRiyaz
Автор

thank you for this video. eagerly waiting for more videos

janandababunlr
Автор

Appreciate🥰 clear and very informative video.. you are amazing

novaturient
Автор

Thanks you, got quick answer without much hurdle

babaladishrisadashivchandr
Автор

Thank You, You saved my day, excellent solution.

vamsikrishnapamdurti
Автор

Thanks for your hardwork
much appreciated
👏👏👏

ecstatic
Автор

Hi, I am using windows system as agent, and getting ERROR: Server rejected the 1 private key(s) for jenkins, even after adding the public key to autorized_keys, can you suggest some possible solution to this?

shubhamkalihari
Автор

Also please create a video how to create all the settings that you did to create ssh and jdk as an image and push it to docker hub, so that we can pull that image every time without doing the changes every time. Please, thanks for the video.

JRiyaz
Автор

I am connecting from Linux to Linux machine, Jre installed in the target machine

snehan
Автор

now I'm getting authentication failed after key matching

devenderkumar-uhnw
Автор

I have a few questions:
1. Do we need to create the keys while logged in as jenkins user?
2. From what I understand, you created keys and jenkins user on the master jenkins machine. Also added the public keys to the master jenkins machine. But in order for jenkins to ssh into the slave node, doesn't the private key need to be added to the .ssh/authorized_keys of slave node machine? How else will slave node present the public key challenge?
3. When I installed jenkins on my master machine, I had given home directory as '/var/lib/jenkins/' so the .ssh folder and keys are created under /var/lib/jenkins/.ssh/. As a jenkins user, I don't have access to /root/.ssh/ folder. Is that okay?

brainworkout
Автор

Yes, I too agree you are a life saver
Please upload more videos

sagarabdhas
Автор

thank you brother try to make more videos

anudeepdachepalli
Автор

without install java on slave machine is that possible to establish connection b/w master & slave?

kG-egze