Linux+ Security: Manage SSH Servers and Connections
In this lab, you’ll practice configuring an ssh daemon and client. When you’re finished, you’ll have configured a remote ssh server and connected to it.
Terms and conditions apply.
Lab info
Lab author
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Explore the SSH Daemon on the Server
In this challenge, you will be configuring an ssh daemon on the Ubuntu server, then connecting to it from the client via username and password.
Challenge
Generate and Use an SSH Key-Pair
Your customer doesn’t want to allow challenge-response authentication to your server. In this challenge, you will be generating an ssh key-pair to authenticate to your server, and disabling the option for password authentication.
Challenge
Use SSH Port Forwarding to Access Applications
Now that you can successfully connect to your server, you need to be able to access the application remotely. You will be using ssh port forwarding to tunnel traffic to a specific port on your server.
Challenge
Configure Your SSH Client
To finish up this lab, you will be configuring your ssh client to use specific options and hostnames when connecting to the server.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Be comfortable with the Linux command line
- Know how to use vim
- Familiar with basic networking and TCP/IP, SSH, and ports.
- Familiarity with asymmetric cryptography is a bonus, but not required