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:
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.
To test and query the runtime configuration, you can use extended test mode;
The option above will allow you to test client matching of settings.