Imran Iqbal
7e35335613
fix(config.sls): fix `salt-lint` errors
```bash
Examining openssh/config.sls of type state
[210] Numbers that start with `0` should always be encapsulated in quotation marks
openssh/config.sls:103
- mode: 0600
```
il y a 5 ans
Imran Iqbal
f6dbca3352
fix: complete PR #164
* Use consistent Jinja whitespace control `{%- ... -}`
* Improve debug output (comments & whitespace control)
* Use exact state names with TOFS `files_switch`
* Add `ssh_known_hosts_src` to `defaults` (for consistency)
* Restrict `pillar.example` changes to TOFS only
* Use `fire_banner` in `pillar.example` to indicate available template
il y a 5 ans
nb
a47596f15a
feat(TOFS): ssh sshd configs known_host and banner
il y a 5 ans
chenmen
463ad69d92
reuse sshd_config from map ( #160 )
remove duplicated 'pillar.get' calls to retrieve the sshd_config and ssh_config pillars.
il y a 5 ans
Alexander Weidinger
4b84dead8e
Made host key algos configurable; dropped DSA
il y a 5 ans
Peter Hudec
ea755686e3
updated openssh/config.sls
il y a 6 ans
tmeneau
63ad14efb1
Fix invalid require_in sshd_config for key states
Change the require_ins used by the key management states in the
config.sls to be conditional based on whether the sshd_config
is managed by the formula
Fixes #130
il y a 6 ans
Raphaël Hertzog
6ccb9fc87d
Replace deprecated "user" attribute by "runas"
il y a 6 ans
Andres Montalban
26f2fc8e97
[FIX] When key is present override generating by any way
il y a 7 ans
Alexander Weidinger
7afea021c6
Fixed key generation
- generate before running check_mk on the sshd_config
- set permissions on private key
- cope with empty keys
il y a 7 ans
Andres Montalban
c7a97ae72f
Create needed directory for UsePrivilegeSeparation option
il y a 7 ans
Alexander Weidinger
c71f2ae4fa
minor fix: use keyFile in config.sls
il y a 7 ans
Alexander Weidinger
162705c7ce
Test config before applying it
il y a 7 ans
Alexander Weidinger
6b23b28f52
Opt-in to enforce RSA key length
il y a 7 ans
ek9
038a51cdc8
manage sshd_config and ssh_config only if pillars are defined
il y a 7 ans
Adam Mendlik
613bea2cac
Add variables for file owner and mode
il y a 7 ans
Bogdan Radulescu
13cf374efe
Added configuration options for ssh_config
Made a small change to reflect the default sshd_config
il y a 9 ans
elfixit
18ba94d0fc
add options to give a key size to generate_key
il y a 9 ans
Niels Abspoel
2a68ccac1a
Add option to remove ssh_host_keys
il y a 9 ans
Franz Pletz
5d0f69ad2c
Cleanups for host key pillar example
il y a 10 ans
Franz Pletz
33f21a0976
Add support for ED25519 host keys
il y a 10 ans
Alan Pearce
6fb57f40bc
Config: Add support for generating keys
il y a 10 ans
Alan Pearce
73eaef4ea0
Config: Add support for ECDSA host keys
il y a 10 ans
Alan Pearce
ce46343562
Config: Refactor host key provisioning into loop
il y a 10 ans
Alan Pearce
2876a691b0
Remove reference to root group
By not specifying it, root user's group should be used.
il y a 10 ans
Seth House
b44c26cd13
Moved the rsa/dsa key management to config.sls
il y a 10 ans
Kenny Do
9f70270643
explicitly set the user, group, and mode to match the package's
sshd_config
il y a 11 ans
Kenny Do
dc53d0c295
fixed the name of the service that the openssh config is watched by
il y a 11 ans
Kenny Do
07771c0ebf
Split the sshd_config and banner components into sub-states
il y a 11 ans