Skip to main content

sshd.config

Description

SSH server configuration

Init

sshd.config(path string)

Fields

IDTYPEDESCRIPTION
filefileFile of this SSH server configuration
contentstringRaw content of this SSH server config
paramsmap[string]stringConfiguration values of this SSH server
ciphers[]stringCiphers configured for this SSH server
macs[]stringMACs configured for this SSH server
kexs[]stringKey Exchange Algorithms configured for this SSH server
hostkeys[]stringHost Keys configured for this SSH server

Examples

Check the ssh banner setting

sshd.config.params["Banner"] == "/etc/ssh/sshd-banner";