- Lab
- A Cloud Guru
Working with SSH Servers on SUSE Linux Enterprise
In this lab, you'll look at the SSH client and server options that work together to make secure connections, including the `ssh_config` and `sshd_config` files. You'll view the file configurations and make some changes that ensure `root` users are not allowed to sign on via SSH. Additionally, you'll configure your user environment and a remote server to allow for password-less ssh connections between the two systems using `ssh-keygen`, the `ssh-agent`, and the `ssh-add` commands to enable your shell for such access.
Path Info
Table of Contents
-
Challenge
View and Modify the SSH Client and SSH Server Configurations to Allow Proper Access via SSH
- View the
/etc/ssh/ssh_config
file and configure how the client system handles host keys. - View the
/etc/ssh/sshd_config
file and check the port that SSH uses, verify theAuthentication
section settings are set to policy, and then create a local user SSH client config file to change how that user gets prompted for keys from hosts they attempt to log in to.
- View the
-
Challenge
Configure Password-less Connections Between Two systems via SSH
- Generate a key pair for use in the lab.
- Upload the client system's public key to the remote system.
- Sign in via SSH to verify things work properly.
- Add your credentials via the
ssh-add
command to thessh-agent
, and then connect to the remote system without having to authenticate each time with a password.
What's a lab?
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.
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.