Secure Shell: SSH Configuration

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

If you’re interested in working with Linux, you need to be able to understand the Secure Shell (SSH) service. SSH is used for hundreds of purposes from automation, to manual management, to deployment of new services. In this lab, you’ll be able to practice some configuration changes with SSH, including changing a node port and disabling `root` login.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Update the Secure Server’s configuration file to the desired end state.

First, connect to the secure server. Then locate and edit the SSH daemon configuration file. Make the required changes to the port and root login settings, save, and quit.

Update the Jump Server’s configuration file to the desired end state and test the configuration.

First, connect to the jump server. Then locate and edit the SSH client configuration file. Make the required changes to the port, save, and quit.

Finally, attempt a connection from the jump server to the secure server and see if it works, both as root and as cloud_user.

As long as the verification works, you’re done! Congratulations!

Additional Resources

You have just started working at DadCorp, a new startup providing a subscription service that emails dad jokes to customers. The majority of the data center is web servers containing the sign-up forms.

As part of DadCorp’s infrastructure revamp, they want to introduce a “jump” server (a server that they connect to first before connecting to the secure environment). You've been tasked with configuring the secure server to listen for SSH connections on port 1001 and disable root login. In addition, to improve admin quality of life, you've also been tasked to configure the jump server to open connections on port 1001.

If you have any questions or issues with these tasks, feel free to watch the solution video where I walk through the steps necessary to complete this lab.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?