OpenSSH 05-redhat.conf configuration example for CentOS Linux 8

Get the default configuration file 05-redhat.conf for OpenSSH, optimized for CentOS Linux 8. This example configuration ensures optimal compatibility and performance for OpenSSH, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/ssh/ssh_config.d/05-redhat.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # The options here are in the "Match final block" to be applied as the last
# options and could be potentially overwritten by the user configuration
Match final all
	# Follow system-wide Crypto Policy, if defined:
	Include /etc/crypto-policies/back-ends/openssh.config

	GSSAPIAuthentication yes

# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
	ForwardX11Trusted yes

# Send locale-related environment variables
	SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
	SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
	SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
	SendEnv XMODIFIERS

# Uncomment this if you want to use .local domain
# Host *.local

    
  

Config Details

Location
/etc/ssh/ssh_config.d/05-redhat.conf
Operating system
CentOS Linux 8
Length
21 lines
MD5 checksum
e865565e1f7f79f6ca9d964761d2a36f

Usage

Download the raw file with wget or curl

Wget

wget -O 05-redhat.conf.example https://exampleconfig.com/static/raw/openssh/centos8/etc/ssh/ssh_config.d/05-redhat.conf

cURL

curl https://exampleconfig.com/static/raw/openssh/centos8/etc/ssh/ssh_config.d/05-redhat.conf > 05-redhat.conf.example