DevOps Lab #8: Jenkins Static Agent Using SSH 🔐| Passwordless SSH & 4 Host Key Verification Methods
Rohit Rai
0:00 / 0:00
DevOps Lab #8: Jenkins Static Agent Using SSH 🔐| Passwordless SSH & 4 Host Key Verification Methods
26 просмотров · 6 дн. назад
Rohit Rai
21 подписчик
26 просмотров · 6 дн. назад
🙏 If you're finding value in this DevOps Lab series, please LIKE, SUBSCRIBE, and SHARE the channel. Your support motivates me to create more practical, hands-on DevOps tutorials. Thank you for being part of this journey!
00:00 - Introduction
00:37 - Start Jenkins Controller and Agent VMs
00:55 - Access Jenkins Dashboard and Create a Node
02:06 - Generate SSH Keys on the Controller
02:42 - Create Jenkins SSH Credentials
03:50 - Strategy 1: Non-Verifying
04:15 - Troubleshoot SSH Authentication Failure
05:34 - Strategy 2: Manually Provided Key
06:53 - Strategy 3: Manually Trusted Key
07:35 - Strategy 4: Known Hosts File
08:23 - Summary and Closing
In this hands-on Jenkins tutorial, we will configure a Jenkins Static Agent using SSH authentication** instead of the inbound connection method covered in the previous session.
You'll learn how to establish passwordless SSH authentication between the Jenkins controller and agent, configure Jenkins credentials using a private key, and connect the agent securely.
🔐 What you'll learn in this video:
✅ Configure a Jenkins static agent using SSH
✅ Generate an Ed25519 SSH key pair
✅ Set up passwordless SSH authentication using `ssh-copy-id`
✅ Create Jenkins credentials using SSH username and private key
✅ Configure the SSH host key verification strategy
✅ Troubleshoot SSH authentication failures
✅ Connect the agent and verify that it is online
🛡️ The 4 SSH Host Key Verification Strategies Covered:
1. Non-Verifying Verification Strategy
2. Manually Provided Key Verification Strategy
3. Manually Trusted Key Verification Strategy
4. Known Hosts File Verification Strategy
We'll configure each strategy, understand how it works, and see how Jenkins establishes an SSH connection to the remote agent.
🎯 What you'll achieve: By the end of this lab, you'll have a working SSH-based Jenkins static agent ready to execute pipeline jobs.
📚 DevOps Lab Series:Follow the series for more hands-on tutorials on Jenkins, CI/CD, DevOps automation, and infrastructure.
👍 If this tutorial helps you, please *LIKE, SUBSCRIBE, and COMMENT* with your questions. Your support helps me create more practical DevOps labs!
🔔 Subscribe for upcoming DevOps tutorials and hands-on labs.
#Jenkins #DevOps #JenkinsAgent #sshd #cicd #jenkinstutorial #DevOpsLab #automation #continuousintegration #pipeline #kubernetes #jenkinstutorial #devopszerotohero #cicdpipeline