From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

SSH per user client configuration

SSH per user client configuration

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

SSH per user client configuration

- [Instructor] For this lesson, you'll need both rhhost1 and rhhost2 VMs running, so start them now. You'll also need to be sure that hostname resolution works or you need the IP address for rhhost2. With SHH, every user can have a per-user client configuration file for overwriting certain SSH client configuration items. This configuration file is stored in the user's home directory at ~/.ssh/config. The .ssh directory doesn't exist until you try to connect to a server for the first time or after you create SSH keys. Creating it manually is possible but the ownership and permissions need to be exact or SSH won't function properly. I suggest trying to SSH to a server and then canceling it as a simple method of ensuring it's created properly. We can verify if it exists using ls. Type in ls -la in your home directory and hit Enter. The per-user client configuration file allows us to store information about our remote…

Contents