/etc/sysconfig/sshd - CentOS Linux 8

This is the default example configuration of sshd provided by OpenSSH. This config file was generated by OpenSSH running on CentOS 8.

It is located under: /etc/sysconfig/sshd

    # Configuration file for the sshd service.

# The server keys are automatically generated if they are missing.
# To change the automatic creation, adjust sshd.service options for
# example using  systemctl enable sshd-keygen@dsa.service  to allow creation
# of DSA key or  systemctl mask sshd-keygen@rsa.service  to disable RSA key
# creation.

# 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

# System-wide crypto policy:
# To opt-out, uncomment the following line
# CRYPTO_POLICY=

    
  

Config Details

Location
/etc/sysconfig/sshd
Operating system
CentOS Linux 8
Length
17 lines
MD5 checksum
5c2e3f8c34a2cf96203260fb1ec8c74a

Usage

Download the raw file with wget or curl

Wget

wget -O sshd.example http://exampleconfig.com/static/raw/openssh/centos8/etc/sysconfig/sshd

cURL

curl http://exampleconfig.com/static/raw/openssh/centos8/etc/sysconfig/sshd > sshd.example