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.configMin version: 5.15.0
Relationships
4 resources · 4 relationships·Click to select, expand fields to see properties.
Fields (11)
| Field | Type | Description |
|---|---|---|
blocks | []sshd.config.matchBlock | Blocks with match conditions in this SSH server config |
ciphers | []string | Ciphers configured for this SSH server |
content | string | Deprecated: Please use `file.content` or `files{content}` instead. This field will be removed in v12. |
file | file | File of this SSH server configuration |
files | []file | A list of lexically sorted files making up the SSH server configuration |
hostkeys | []string | Host keys configured for this SSH server |
kexs | []string | Key exchange algorithms configured for this SSH server |
macs | []string | MACs configured for this SSH server |
matchBlockprivate | sshd.config.matchBlock | A block of SSH server configuration |
params | map[string]string | Configuration values of this SSH server |
permitRootLogin | []string | PermitRootLogin setting in SSH server |