Working with SSH Servers on SUSE Linux Enterprise

45 minutes
  • 2 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

View and Modify the SSH Client and SSH Server Configurations to Allow Proper Access via SSH
  1. View the /etc/ssh/ssh_config file and configure how the client system handles host keys.
  2. View the /etc/ssh/sshd_config file and check the port that SSH uses, verify the Authentication 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.
Configure Password-less Connections Between Two systems via SSH
  1. Generate a key pair for use in the lab.
  2. Upload the client system’s public key to the remote system.
  3. Sign in via SSH to verify things work properly.
  4. Add your credentials via the ssh-add command to the ssh-agent, and then connect to the remote system without having to authenticate each time with a password.

Additional Resources

You are a systems administrator who needs to understand more about your client and server SSH configurations, ensure that your systems are properly configured, and that you understand what the settings will accomplish for you.

You find it tedious to have to input your password every time you want to do something on a remove system, so you configure password-less or passphrase authentication between your system and the remote server, resulting in more time to do other important tasks.

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?