After a fresh install every option of the default configuration file in /etc/ssh/sshd_config commented out. But when I run /usr/sbin/sshd -tT, there are many option actually to see.

Where are those came from?

Related: https://stackoverflow.com/questions/38570371/sshd-config-all-parameters-commented-out


Even with an empty sshd configuration file, sshd has a default set of options that it will use out-of-the-box. To see learn more about these options, run man sshd_config. The page has the options (keywords) available, and often, what the default values are.

The /etc/ssh/sshd_config is provided with these default options commented out to make the job of the system admin easier.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.