Mondoo Docs

SSH server configuration

sshd.config MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

SSH server configuration

Use MQL in cnspec shell or policy:

sshd.config
Min version: 5.15.0

Relationships

Mini Map
Operating System
4 resources · 4 relationshipsClick to select, expand fields to see properties.

Fields (11)

FieldTypeDescription
blocks
[]sshd.config.matchBlockBlocks with match conditions in this SSH server config
ciphers
[]stringCiphers configured for this SSH server
content
stringDeprecated: Please use `file.content` or `files{content}` instead. This field will be removed in v12.
file
fileFile of this SSH server configuration
files
[]fileA list of lexically sorted files making up the SSH server configuration
hostkeys
[]stringHost keys configured for this SSH server
kexs
[]stringKey exchange algorithms configured for this SSH server
macs
[]stringMACs configured for this SSH server
matchBlockprivate
sshd.config.matchBlockA block of SSH server configuration
params
map[string]stringConfiguration values of this SSH server
permitRootLogin
[]stringPermitRootLogin setting in SSH server