From the course: Intermediate Jenkins: Automate, Integrate, and Secure CI/CD Workflows at Scale
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Add an SSH agent to Jenkins - Jenkins Tutorial
From the course: Intermediate Jenkins: Automate, Integrate, and Secure CI/CD Workflows at Scale
Add an SSH agent to Jenkins
Let's connect Jenkins to an SSH agent. If you're following along, I'll show you how to use a CloudFormation template from the exercise files to deploy a Linux server on AWS. I'm logged into my AWS account and I'm starting from the CloudFormation homepage. I'll start by creating a stack with new resources and then I'll select Upload a Template. I'll select the SSH agent CloudFormation template from the exercise files that I've downloaded to my local system. I'll select Next, and then I'll provide a stack name. I'm going to call this one Linux Node. I also need to specify the stack name for the CloudFormation stack that I use to deploy my Jenkins server. So I'll enter Jenkins-server. On the Stack Options page, I'll just scroll all the way down to the bottom and select the checkbox to acknowledge that AWS CloudFormation might create IAM resources. And on the review screen, I'll scroll all the way down to the bottom and select submit. And now I'll wait for this deployment to complete. It…