Florian Ermisch
add969822c
add optional `{{source}} to sshd_config
преди 7 години
Florian Ermisch
8594cd90ba
add optional `{{source}} to ssh_config
преди 7 години
Michael Mol
345e07c85e
Support Match prioritization
OpenSSH's Match declarations are applied first-match-wins. However, we
can't safely define two Matches that might overlap unless we first sort
the keys, as Python (and Jinja) dicts don't guarantee the order of
dict keys,
We also won't scramble the match sequence every time the user adds,
removes or renames a match, and so we give the user clearer, more
concise diffs as when they apply changes.
Finally, we leave a comment on the Match line identifying where the
Match rule came from, to assist in troubleshooting.
преди 7 години
Niels Abspoel
0913827c82
Merge pull request #93 from amendlik/freebsd11-printlastlog
PrintLastLog missing in FreeBSD 11.0
преди 7 години
Adam Mendlik
1284109335
PrintLastLog missing in FreeBSD 11.0
The fix introduced in 678cc9066c
suppresses the PrintLastLog directive for FreeBSD 10.3.
SSH on FreeBSD 11.0 also does not support PrintLastLog, so this
change suppresses it for any version >= 10.3.
преди 7 години
Javier Bértoli
c964121b54
Merge pull request #92 from alxwr/master
Test config before applying it
преди 7 години
Alexander Weidinger
162705c7ce
Test config before applying it
преди 7 години
Javier Bértoli
daf5e9464f
Merge pull request #91 from amendlik/freebsd-wheel-group
FreeBSD wheel group
преди 7 години
Adam Mendlik
7245e1aa32
Add kitchen tests for FreeBSD
преди 7 години
Adam Mendlik
0c363d284e
Update tests for compatibility with recent changes
Commit 038a51cdc8
introduced a change
where the sshd_config file is not managed unless the 'sshd_config'
pillar variable is defined. The kitchen tests did not define that
variable, so they stopped working.
This change sets a default value for 'Port' so the file is managed
by Salt.
преди 7 години
Adam Mendlik
154213560f
Correct typo in .kitchen.yml
This change has no impact on the kitchen tests, but only changes
a symbolic name from 'openssl' to 'openssh' to avoid confusion.
преди 7 години
alxwr
844e96b57b
Merge pull request #88 from alxwr/force_key_length
Opt-in to enforce RSA key length
преди 7 години
alxwr
9fddb0ea2a
Merge pull request #87 from alxwr/auth_map
openssh.auth_map
преди 7 години
Alexander Weidinger
6b23b28f52
Opt-in to enforce RSA key length
преди 7 години
Alexander Weidinger
674216d0ad
openssh.auth_map
преди 7 години
Alexander Weidinger
66c954ed66
Set correct ssh(d)_config_group for *BSD
преди 7 години
Niels Abspoel
4ec97eeb28
Merge pull request #86 from amendlik/file-mode
Add variables for file owner and mode
преди 7 години
amendlik
6d6c7a0ead
Merge branch 'master' into file-mode
преди 7 години
Niels Abspoel
044d4d646b
Merge pull request #81 from leansalt/pillar-example-update
Add secure defaults to pillar.example + secure sshd_config in defaults.yml #66
преди 7 години
Adam Mendlik
b3fd60f016
Test using default permissions for ssh_config
преди 7 години
ek9
038a51cdc8
manage sshd_config and ssh_config only if pillars are defined
преди 7 години
ek9
c03e29a498
remove Kex,MACs,Ciphers from defaults
преди 7 години
ek9
f192b91192
add more verbose warnings regarding ssh_config in pillar.example
преди 7 години
Adam Mendlik
613bea2cac
Add variables for file owner and mode
преди 7 години
Niels Abspoel
b0afda98ed
Merge pull request #85 from amendlik/test-kitchen
Add test-kitchen configuration
преди 7 години
Adam Mendlik
14cc19c941
Add test-kitchen configuration
преди 7 години
Alexander Weidinger
70461403cb
known_hosts: sort IP addresses
in order to prevent unnecessary changes due to
random ordering of dig results.
преди 7 години
Alexander Weidinger
678cc9066c
PrintLastLog missing in FreeBSD 10.3
преди 7 години
ek9
f5a74f3fa0
defaults: enable secure defaults on sshd_config
преди 7 години
ek9
ec796662bc
pillar.example: update with secure defaults for sshd_config and ssh_config
преди 7 години
ek9
d6e48f2b43
rebase based on latest update
преди 8 години
Javier Bértoli
2db9253c45
Merge pull request #82 from pepoluan/allow_list_or_string
Allow list or string for some option, and setting of ConfigBanner
преди 8 години
Javier Bértoli
893b96d023
Merge pull request #83 from llua/redhat
setup sftp correctly on RedHat-like machines
преди 8 години
Eric Cook
f4ea96f9c1
setup sftp correctly on RedHat-like machines
преди 8 години
Pandu E Poluan
18e1866ac5
Update pillar.example
`pillar.example` now contains information on how to use the
'string-or-list' feature for some options.
Also an explanation on the new `ConfigBanner` option.
преди 8 години
Pandu E Poluan
773d9ae092
Apply string-or-list processing to ssh_config
Now ssh_config also accepts string-or-list options, for serveral
keywords.
преди 8 години
Pandu E Poluan
30648d115e
Add macro to handle string or list
Added a macro to handle multivalue options entered in either string
format or list format (with auto joiner).
преди 8 години
Brian Jackson
b9689cedff
Merge pull request #79 from leansalt/server-service-control
Add ability to control SSH server service status (default: on)
преди 8 години
Florian Ermisch
bff3e5d199
Merge pull request #80 from llua/use_pam
do not set UsePAM on OpenBSD
преди 8 години
Eric Cook
686fc2c4ee
do not set UsePAM on OpenBSD
Upstream opensshd does not support PAM
преди 8 години
Forrest
086937b84f
Merge pull request #76 from freach/master
openssh.auth will produce invalid SLS definition if sshd_config configs are missing
преди 8 години
Simon Pirschel
1b69ecab2c
fix issue with stripping new line will result in invalid SLS definition if AuthorizedKeysFile is missing in sshd_config
преди 8 години
Forrest
0c06e247d5
Merge pull request #75 from freach/master
sshd won't start if AddressFamily option is specified
преди 8 години
Simon Pirschel
2a1b8fbc66
fix issue sshd won't start if AddressFamily is specified, because it must be defined before ListenAddress
преди 8 години
Forrest
ec663a6f5e
Merge pull request #51 from mathieupotier/master
Put ssh keys on configured path in sshd_config (AuthorizedKeysFile)
преди 8 години
Forrest
263575e57e
Merge pull request #74 from llua/arch_sftp
fix Subsystem directive on archlinux
преди 8 години
Eric Cook
51fd8b1391
fix Subsystem directive on archlinux
преди 8 години
Forrest
8c1d02f249
Merge pull request #73 from omltorg/updated_archlinux_pkg_name
Update name of package containing dig on ArchLinux
преди 8 години
omltorg
de66dbee97
Update name of package containing dig on ArchLinux
преди 8 години
Forrest
8d1e730907
Merge pull request #72 from kyrias/AuthKeysCmd
Add AuthorizedKeysCommand support
преди 8 години