Jenkins Master Slave Setup over ssh using SSH keys

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 33

  • @kishoregowrish1373
    @kishoregowrish1373 Рік тому

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

  • @janandababunlr
    @janandababunlr Рік тому

    thank you for this video. eagerly waiting for more videos

  • @vamsikrishnapamdurti7285
    @vamsikrishnapamdurti7285 Рік тому

    Thank You , You saved my day , excellent solution.

  • @jaxparrow1794
    @jaxparrow1794 3 роки тому +2

    Bro, you are a life saver!
    THANK YOU!

  • @iamankur555
    @iamankur555 2 роки тому

    Thanks for this informative session

  • @sagarabdhas2945
    @sagarabdhas2945 2 роки тому

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

  • @babaladishrisadashivchandr2228
    @babaladishrisadashivchandr2228 3 роки тому

    Thanks you, got quick answer without much hurdle

  • @ecstatic6133
    @ecstatic6133 2 роки тому

    Thanks for your hardwork
    much appreciated
    👏👏👏

  • @talari123
    @talari123 3 місяці тому

    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.

  • @novaturient3257
    @novaturient3257 Рік тому

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

  • @anudeepdachepalli790
    @anudeepdachepalli790 2 роки тому

    thank you brother try to make more videos

  • @JRiyaz
    @JRiyaz 3 роки тому

    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?

  • @filipeschenkel
    @filipeschenkel 2 роки тому

    Thanks man, I appreciate it :)

  • @Klaz73
    @Klaz73 3 роки тому +1

    Thanks' a lot man!

  • @JRiyaz
    @JRiyaz 3 роки тому

    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.

  • @brainworkout7035
    @brainworkout7035 2 роки тому

    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?

  • @musshare
    @musshare 4 роки тому

    Thank you so much!

  • @shubhamkalihari3867
    @shubhamkalihari3867 2 роки тому

    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?

    • @iwtlacademy9930
      @iwtlacademy9930  2 роки тому

      Please use user authentication(username/password) for windows instances. Use ssh key only for linux machine unless you are using wsl Machine

  • @kG-eg6ze
    @kG-eg6ze 2 роки тому

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

    • @iwtlacademy9930
      @iwtlacademy9930  2 роки тому +1

      Good question! we need JRE on the Slave machine as jenkins executed a small jar file(agent.jar) inside the slave machine to establish connection.

  • @snehan4177
    @snehan4177 3 роки тому

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

  • @challabhanuprakash3363
    @challabhanuprakash3363 Рік тому

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

  • @poornimasridhar5011
    @poornimasridhar5011 3 роки тому

    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...

  • @RutaBorkar
    @RutaBorkar 3 роки тому

    Did not get how to give Username

  • @devenderkumar-uh2nw
    @devenderkumar-uh2nw 3 роки тому

    now I'm getting authentication failed after key matching

  • @snehan4177
    @snehan4177 3 роки тому

    Everything is correct , but when I try to lunch the slave machine, getting an error IO exceptionerror , it seems Java not installed I think, but Java Jre 1.8 installed , can you please help me out to resolve the issue

    • @iwtlacademy9930
      @iwtlacademy9930  3 роки тому

      Hey, Please upload your error snap. We can send you the hack

    • @snehan4177
      @snehan4177 3 роки тому

      @@iwtlacademy9930 sure will else send an email to your mail id

  • @tridev1767
    @tridev1767 2 роки тому

    finally a non-fraud solution

  • @SandeepSingh-hn6it
    @SandeepSingh-hn6it Рік тому

    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 /home/ubuntu/jenkins_home/workspace/pipeline