From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Configure SSH servers and clients

Configure SSH servers and clients

- [Instructor] To manage remote Linux servers, we need two things: an SSH client on our local computer and an SSH daemon running on the remote Linux server. The SSH daemon is also called an SSH server since it serves user requests. With the client running locally, we can connect to the OpenSSH daemon running on the remote server. Our Linux machine is already running the OpenSSH daemon. So let's jump straight into how we can configure that. The config file can be found at etc/ssh/sshd_config. Notice the d letter in this name. It's placed there because the config refers to the SSH daemon. There's also a config file for the SSH client, which can be found at SSH config. Note that this doesn't have the d after the SSH. A subtle difference to be aware of when editing SSH configs for the server part and for the client part because a Linux operating system usually includes both programs, the SSH Client and the SSH daemon. So let's go through how we can configure the SSH server or daemon now…

Contents