.. generated, remove this comment to keep this file ``opensshd.config`` =================== .. code-block:: console $ target-query -f opensshd.config .. list-table:: Details :widths: 20 80 * - Module - ``apps.ssh.opensshd.SSHServerPlugin`` * - Output - ``records`` **Module documentation** No documentation **Function documentation** Parse all fields in the SSH server config in /etc/ssh/sshd_config. This function parses each line (not starting with '#') as a key-value pair, delimited by whitespace. The values of these fields can be one of three types: string, integer and boolean (string is the default). We provide two lists that define the integer and boolean fields (SSHD_INTEGER_FIELDS and SSHD_BOOLEAN_FIELDS). The fields in SSHD_MULTIPLE_DEFINITIONS_ALLOWED_FIELDS can be defined multiple times. We set their type to a list of the underlying value (e.g. varint[] for the Port field). This parser does not (yet) follow Include directives. Resources: - https://github.com/openssh/openssh-portable - https://www.man7.org/linux/man-pages/man5/sshd_config.5.html