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 client configuration

SSH client configuration

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

SSH client configuration

- [Instructor] SSH has many options, including which ciphers to use, which hosts a client can connect to and how it operates. However, usually a client configuration uses the defaults and is much easier to work with than the SSH server configuration. There are three ways of passing configuration options to the SSH client. They're processed in the following order. Command-line options, the per user configuration file stored in the users home directory, and lastly, the system-wide configuration at /etc/ssh/ssh_config. For each parameter, the first value will be used, so any options specified on the command line override the configuration files. Any option in the users configuration file overrides the system-wide configuration file. Let's start by looking at our system-wide configuration file. Later in this chapter, we'll talk about the per user configuration, as well. Let's load the system-wide configuration file into less. In a terminal type in less -q /etc/ssh/ssh_config and hit…

Contents