/etc/sysconfig/sshd - CentOS Linux 6

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

It is located under: /etc/sysconfig/sshd

    # Configuration file for the sshd service.

# The server keys are automatically generated if they ommited
# to change the automatic creation uncomment the approprite 
# line.

# AUTOCREATE_SERVER_KEYS=RSAONLY
# AUTOCREATE_SERVER_KEYS=NO
AUTOCREATE_SERVER_KEYS=YES

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

export SSH_USE_STRONG_RNG=0
# export SSH_USE_STRONG_RNG=1
 

    
  

Config Details

Location
/etc/sysconfig/sshd
Operating system
CentOS Linux 6
Length
16 lines
MD5 checksum
59bb52b2455992e2161d716d4f68a720

Usage

Download the raw file with wget or curl

Wget

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

cURL

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