Introduction
The OpenSSH SSHD command has a extensive test switch that is used to check the validity of the configuration file. It will output the effective configuration to stdout and then exit.
SSHd's configuration is typically found in the following file:
/etc/ssh/sshd_config
Please remember that this is not the same file the ssh_config file, which specifies client-side defaults. The above file is the main source of configuration for the SSH daemon itself.
Procedure
To test and query the runtime configuration, you can use extended test mode;
sshd -T
The option above will allow you to test client matching of settings.