OpenSSH sshd configuration example for Red Hat Enterprise Linux Server 7 (Maipo)

Get the default configuration file sshd for OpenSSH, optimized for Red Hat Enterprise Linux Server 7 (Maipo). 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/sysconfig/sshd.

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

    # Configuration file for the sshd service.

# The server keys are automatically generated if they are missing.
# To change the automatic creation uncomment and change the appropriate
# line. Accepted key types are: DSA RSA ECDSA ED25519.
# The default is "RSA ECDSA ED25519"

# AUTOCREATE_SERVER_KEYS=""
# AUTOCREATE_SERVER_KEYS="RSA ECDSA ED25519"

# Do not change this option unless you have hardware random
# generator and you REALLY know what you are doing

SSH_USE_STRONG_RNG=0
# SSH_USE_STRONG_RNG=1

    
  

Config Details

Location
/etc/sysconfig/sshd
Operating system
Red Hat Enterprise Linux Server 7 (Maipo)
Length
15 lines
MD5 checksum
dab6563f98ed7d0c420d5d353ba1c8fc

Usage

Download the raw file with wget or curl

Wget

wget -O sshd.example https://exampleconfig.com/static/raw/openssh/rhel7/etc/sysconfig/sshd

cURL

curl https://exampleconfig.com/static/raw/openssh/rhel7/etc/sysconfig/sshd > sshd.example