Simon Lloyd
daed52de19
Add sshd_config to map.jinja and check if dig command is available before installing 'dig' package.
8 years ago
Niels Abspoel
a85c19c256
Merge pull request #57 from tampakrap/fix_subsystem_sftp_path_for_sle
Fix the default Subystem sftp-server path for SLE
8 years ago
Theo Chatzimichos
0abbaac60d
Fix the default Subystem sftp-server path for SLE
8 years ago
Forrest
d5db2a6e89
Merge pull request #55 from nigelsim/default-host
Allow Host: * options to be overridden in the pillar
9 years ago
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 years ago
puneet kandhari
a2408d5e1e
Merge pull request #54 from ketzacoatl/patch-1
Add support for Host definitions in ssh_config
9 years ago
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 years ago
ek9
33344743b0
Add ability to control SSH server status (default: on)
9 years ago
Nitin Madhok
d14f8db721
Merge pull request #53 from abednarik/replace_deprecated_function_iteritems
Replaced iteritems deprecated function with items
9 years ago
abednarik
b813b4b52a
Replaced iteritems deprecated function with items
9 years ago
Forrest
c5aaffa9a9
Merge pull request #52 from abednarik/frebsd_stpf_subsystem_path
Added default path for sftp Subsystem in FreeBSD
9 years ago
abednarik
3791b11380
Added default path for sftp Subsystem in FreeBSD
9 years ago
POTIER Mathieu
f55445211c
Specify config clause only if defined in pillar.
Signed-off-by: POTIER Mathieu <mathieu.potier@onzeway.eu>
9 years ago
POTIER Mathieu
dda1fb5128
Put ssh keys on configured path in sshd_config (AuthorizedKeysFile)
Signed-off-by: POTIER Mathieu <mathieu.potier@onzeway.eu>
9 years ago
puneet kandhari
67e500fb11
Merge pull request #49 from cloud-hero/master
Added configuration options for ssh_config
9 years ago
Bogdan Radulescu
84296a8f90
Updated the readme to clarify that people need to explicitly turn off root login
9 years ago
Bogdan Radulescu
13cf374efe
Added configuration options for ssh_config
Made a small change to reflect the default sshd_config
9 years ago
puneet kandhari
331493194a
Merge pull request #47 from bogdanr/master
The default value for ServerKeyBits is 1024 both upstream and in distros
9 years ago
Bogdan Radulescu
fd4381b769
The default value for ServerKeyBits is 1024 both upstream and in distros
9 years ago
Forrest
1af5151bc9
Merge pull request #45 from pcdummy/master
Use iteritems() instead of items().
9 years ago
René Jochum
c27f9a81f3
Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
9 years ago
René Jochum
064d489f41
Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
9 years ago
René Jochum
a013b79027
Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
9 years ago
Nitin Madhok
1c5f6ee889
Merge pull request #44 from elfixit/master
add options to give a key size to generate_key
9 years ago
elfixit
18ba94d0fc
add options to give a key size to generate_key
9 years ago
Forrest
22309fdee6
Merge pull request #43 from ingben/feature/ssh_moduli
Adds support to customize /etc/ssh/moduli file
9 years ago
Ingo Bente
a927107b28
Adds support to customize /etc/ssh/moduli file
9 years ago
Forrest
9c5f3ea819
Merge pull request #41 from ingben/feature/harden_sshd_config
adds support to harden sshd_config (KeyExchange, Ciphers, MACs)
9 years ago
Ingo Bente
83bb5ac5a0
adds support to harden sshd_config (KeyExchange, Ciphers, MACs)
9 years ago
Forrest
bec4a2a77e
Merge pull request #40 from TJuberg/master
Stop messing up the first line in ssh_known_hosts
9 years ago
Thomas Juberg
6b68c44583
Stop messing up the first line in ssh_known_hosts
9 years ago
Forrest
92c2d24acb
Merge pull request #39 from imran1008/arch-fix
Fix service name for Arch Linux
9 years ago
Imran Haider
4dddff0ccd
Fix service name for Arch Linux
9 years ago
Forrest
f15a112e13
Merge pull request #38 from aboe76/remove_host_key_via_pillar
Add option to remove ssh_host_keys
9 years ago
Niels Abspoel
2a68ccac1a
Add option to remove ssh_host_keys
9 years ago
Nitin Madhok
329ad59401
Merge pull request #37 from aboe76/add_defaults_map_jinja
Improve default lookup
9 years ago
Niels Abspoel
ca62b7d118
Improve default lookup
Added defaults.yaml and map.jinja similar to template-formula and salt-formula
9 years ago
puneet kandhari
e9bf653c03
Merge pull request #36 from aboe76/fix_mine_function_2015.5
Fix mine_function example in pillar.example
9 years ago
Niels Abspoel
3c828d9e08
Fix mine_function example in pillar.example
This fixes #34, salt version 2015.5.x needs an extra argument
for shell routines.
9 years ago
Forrest
0dd6a19fd3
Merge pull request #35 from zhujinhe/master
added the missing ":" and delete the redundant lines
9 years ago
朱金贺
5f65e92ebd
added the missing ":" and delete the redundant lines
9 years ago
puneet kandhari
3ed21c0d3a
Merge pull request #32 from onestic/master
Fix bug that added : at the end of the key
9 years ago
jvblasco
60691ef20d
Fix bug that added : at the end of the key
9 years ago
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 years ago
Nitin Madhok
9940513b6c
Merge pull request #30 from sys4/master
add gentoo support
9 years ago
Marc Schiffbauer
c6aeaf4dc5
add gentoo support
9 years ago
Marc Schiffbauer
28e0916840
sort distros alphabetically
9 years ago
Nitin Madhok
7adb33ca01
Merge pull request #29 from brot/f/user_with_more_keys
Refactor auth.sls to allow more keys for one user
10 years ago
Bernd Schlapsi
128d4acfa2
Update pillar.example with two valid ssh-keys
10 years ago
Bernd Schlapsi
6efc981885
Refactor auth.sls to allow more keys for one user
10 years ago