sshd.config
Description
SSH server configuration
Init
sshd.config(path string)
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
file | file | File of this SSH server configuration |
content | string | Raw content of this SSH server config |
params | map[string]string | Configuration values of this SSH server |
ciphers | []string | Ciphers configured for this SSH server |
macs | []string | MACs configured for this SSH server |
kexs | []string | Key Exchange Algorithms configured for this SSH server |
hostkeys | []string | Host Keys configured for this SSH server |
Examples
Check the ssh banner setting
sshd.config.params["Banner"] == "/etc/ssh/sshd-banner";