ek9
038a51cdc8
manage sshd_config and ssh_config only if pillars are defined
пре 7 година
ek9
c03e29a498
remove Kex,MACs,Ciphers from defaults
пре 7 година
ek9
f5a74f3fa0
defaults: enable secure defaults on sshd_config
пре 7 година
Eric Cook
f4ea96f9c1
setup sftp correctly on RedHat-like machines
пре 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 година
Eric Cook
686fc2c4ee
do not set UsePAM on OpenBSD
Upstream opensshd does not support PAM
пре 8 година
Simon Pirschel
1b69ecab2c
fix issue with stripping new line will result in invalid SLS definition if AuthorizedKeysFile is missing in sshd_config
пре 8 година
Simon Pirschel
2a1b8fbc66
fix issue sshd won't start if AddressFamily is specified, because it must be defined before ListenAddress
пре 8 година
Eric Cook
51fd8b1391
fix Subsystem directive on archlinux
пре 8 година
omltorg
de66dbee97
Update name of package containing dig on ArchLinux
пре 8 година
Johannes Löthberg
02b52fa7cf
Add AuthorizedKeysCommand support
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
пре 8 година
Mathieu POTIER
760a2ad277
fix the path to authkeys
Allow user to specify aliased path (with %u)
пре 8 година
Pandu E Poluan
e6603ae62a
Allow moduli to be pulled as file
Added Jinja logic to allow the option to pull the moduli from an online source.
пре 8 година
Lev Lozhkin
781be61881
Convert dig exist check to unless req
пре 8 година
Jonathon Anderson
87057c7c6b
Correct openssh-clients package name for Red Hat
пре 8 година
Niels Abspoel
641851632f
add more authentication options
пре 8 година
Matthieu DERASSE
3542a1f534
Implement Session idle time out
пре 8 година
Eric Cook
dfb04a43b4
set dig_pkg on arch linux for issue #59
пре 8 година
llua
bd8d46d784
add OpenBSD to map.jinja
пре 8 година
Wolodja Wentland
49923a6371
Drop overly opinionated ssh_config defaults
This set of options reflect the ssh_config options that are set by
default on Debian. The way this was set before has the potential to
break exisisting setups that rely on "normal" defaults, rather than the
rather opinionated ones that are now being shipped with this formula.
пре 8 година
Simon Lloyd
daed52de19
Add sshd_config to map.jinja and check if dig command is available before installing 'dig' package.
пре 8 година
Theo Chatzimichos
0abbaac60d
Fix the default Subystem sftp-server path for SLE
пре 8 година
Nigel Sim
1e515b0f5d
make the host option rendering support lists by refactoring the main option rendering code
put the ssh_config Host:* options in the defaults file so they can be overridden
пре 9 година
ketzacoatl
143451eb19
Add support for Host definitions in ssh_config
This gives us the ability to define system-wide definitions for specific Hosts, and their options.
For example, with this in pillar:
```
# this is the place for host-wide SSH config
ssh_config:
...
Hosts:
# this simplifies cloning with custom params
# eg: git clone my-git:foo/bar
my-git:
User: git
HostName: git.example.com
Port: 2222
```
This would add a section in `/etc/ssh/ssh_config`:
```
Host my-git
User git
HostName git.example.com
Port 2222
```
пре 9 година
ek9
33344743b0
Add ability to control SSH server status (default: on)
пре 9 година
abednarik
b813b4b52a
Replaced iteritems deprecated function with items
пре 9 година
abednarik
3791b11380
Added default path for sftp Subsystem in FreeBSD
пре 9 година
POTIER Mathieu
f55445211c
Specify config clause only if defined in pillar.
Signed-off-by: POTIER Mathieu <mathieu.potier@onzeway.eu>
пре 9 година
POTIER Mathieu
dda1fb5128
Put ssh keys on configured path in sshd_config (AuthorizedKeysFile)
Signed-off-by: POTIER Mathieu <mathieu.potier@onzeway.eu>
пре 9 година
Bogdan Radulescu
13cf374efe
Added configuration options for ssh_config
Made a small change to reflect the default sshd_config
пре 9 година
Bogdan Radulescu
fd4381b769
The default value for ServerKeyBits is 1024 both upstream and in distros
пре 9 година
René Jochum
064d489f41
Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
пре 9 година
René Jochum
a013b79027
Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
пре 9 година
elfixit
18ba94d0fc
add options to give a key size to generate_key
пре 9 година
Ingo Bente
a927107b28
Adds support to customize /etc/ssh/moduli file
пре 9 година
Ingo Bente
83bb5ac5a0
adds support to harden sshd_config (KeyExchange, Ciphers, MACs)
пре 9 година
Thomas Juberg
6b68c44583
Stop messing up the first line in ssh_known_hosts
пре 9 година
Imran Haider
4dddff0ccd
Fix service name for Arch Linux
пре 9 година
Niels Abspoel
2a68ccac1a
Add option to remove ssh_host_keys
пре 9 година
Niels Abspoel
ca62b7d118
Improve default lookup
Added defaults.yaml and map.jinja similar to template-formula and salt-formula
пре 9 година
jvblasco
60691ef20d
Fix bug that added : at the end of the key
пре 9 година
Raphaël Hertzog
1b74efd2d0
Add a new openssh.known_hosts state
This state manages /etc/ssh/ssh_known_hosts and fills it with
public SSH host keys of other minions.
пре 9 година
Marc Schiffbauer
c6aeaf4dc5
add gentoo support
пре 9 година
Marc Schiffbauer
28e0916840
sort distros alphabetically
пре 9 година
Bernd Schlapsi
6efc981885
Refactor auth.sls to allow more keys for one user
пре 10 година
Niels Abspoel
33ee945557
Added AllowUsers,AllowGroups,DenyUsers,DenyGroups
This will add more options to set to secure openssh
- AllowUsers
- AllowGroups
- DenyUsers
- DenyGroups
пре 10 година
Bohdan Kmit
b843d8168b
add ed25519 host key type; add AuthenticationMethods option
пре 10 година
Niels Abspoel
5871efb5bd
added archlinux support to openssh map.jinja
пре 10 година
Franz Pletz
5d0f69ad2c
Cleanups for host key pillar example
пре 10 година