Merge pull request #31 from martinstefany/master

Fedora HostKey(s)
This commit is contained in:
Matt Willsher 2016-01-11 15:34:48 +00:00
commit 57f58202ac
4 changed files with 3 additions and 28 deletions

View file

@ -32,7 +32,7 @@ Tested on:
* Debian wheezy, jessie * Debian wheezy, jessie
* FreeBSD 10.1 * FreeBSD 10.1
* EL 6,7 derived distributions * EL 6,7 derived distributions
* Fedora 20, 22 * Fedora 22, 23
It will likely work on other flavours and more direct support via suitable It will likely work on other flavours and more direct support via suitable
[vars/](vars/) files is welcome. [vars/](vars/) files is welcome.

View file

@ -23,8 +23,8 @@ galaxy_info:
- 7 - 7
- name: Fedora - name: Fedora
versions: versions:
- 20
- 22 - 22
- 23
categories: categories:
- networking - networking
- system - system

View file

@ -7,6 +7,7 @@ sshd_defaults:
HostKey: HostKey:
- /etc/ssh/ssh_host_rsa_key - /etc/ssh/ssh_host_rsa_key
- /etc/ssh/ssh_host_ecdsa_key - /etc/ssh/ssh_host_ecdsa_key
- /etc/ssh/ssh_host_ed25519_key
SyslogFacility: AUTHPRIV SyslogFacility: AUTHPRIV
AuthorizedKeysFile: .ssh/authorized_keys AuthorizedKeysFile: .ssh/authorized_keys
PasswordAuthentication: yes PasswordAuthentication: yes

View file

@ -1,26 +0,0 @@
---
sshd_packages:
- openssh
- openssh-server
sshd_sftp_server: /usr/libexec/openssh/sftp-server
sshd_defaults:
HostKey:
- /etc/ssh/ssh_host_rsa_key
- /etc/ssh/ssh_host_ecdsa_key
- /etc/ssh/ssh_host_ed25519_key
SyslogFacility: AUTHPRIV
AuthorizedKeysFile: .ssh/authorized_keys
PasswordAuthentication: yes
ChallengeResponseAuthentication: no
GSSAPIAuthentication: yes
GSSAPICleanupCredentials: no
UsePAM: yes
X11Forwarding: yes
UsePrivilegeSeparation: sandbox
AcceptEnv:
- LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
- LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
- LC_IDENTIFICATION LC_ALL LANGUAGE
- XMODIFIERS
Subsystem: "sftp {{ sshd_sftp_server }}"
sshd_os_supported: yes