curl https://exampleconfig.com/api/v1/config/original/902612639e7f082be7fddea175d17221?hint=50-redhat.conf
wget -O 50-redhat.conf https://exampleconfig.com/api/v1/config/original/902612639e7f082be7fddea175d17221?hint=50-redhat.conf
# This system is following system-wide crypto policy. The changes to # crypto properties (Ciphers, MACs, ...) will not have any effect in # this or following included files. To override some configuration option, # write it before this block or include it before this file. # Please, see manual pages for update-crypto-policies(8) and sshd_config(5). Include /etc/crypto-policies/back-ends/opensshserver.config SyslogFacility AUTHPRIV ChallengeResponseAuthentication no GSSAPIAuthentication yes GSSAPICleanupCredentials no UsePAM yes X11Forwarding yes # It is recommended to use pam_motd in /etc/pam.d/sshd instead of PrintMotd, # as it is more configurable and versatile than the built-in version. PrintMotd no
sudo apk add openssh-server
sudo apt update && sudo apt install openssh-server
sudo yum install openssh-server
sudo apt update && sudo apt install openssh-server
Use this original configuration file when you need to restore OpenSSH to its default state after misconfiguration, during fresh installations, or as a baseline for customization. It's particularly useful for troubleshooting when your current config isn't working properly.
Download this file and replace your current configuration at /etc/ssh/sshd_config.d/50-redhat.conf
. Make sure to backup your existing configuration first, then restart the OpenSSH service to apply the changes.
This is the factory-default configuration that ships with OpenSSH on Red Hat Enterprise Linux 9 (Plow). While it provides a secure baseline, you should review and customize security settings based on your specific production requirements and compliance needs.
This configuration is specifically from Red Hat Enterprise Linux 9 (Plow). Different operating systems and versions may have slightly different default settings, security patches, or feature availability. Check the compatibility section above for other OS versions.
Yes, this original configuration is excellent for troubleshooting. Compare it with your current settings to identify modifications that might be causing issues, or temporarily replace your config with this one to isolate problems.