Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [Unreleased]

### Added

- Align the SLES 15 SSH defaults and fixtures with the vendor-provided configuration templates.
- Document SLES 10–15 among the supported platforms.

## [v5.1.1](https://github.com/ghoneycutt/puppet-module-ssh/tree/v5.1.1) (2024-12-30)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-ssh/compare/v5.1.0...v5.1.1)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ known to work on many, many platforms since its creation in 2010.
* EL 7
* EL 8
* EL 9
* SLES 10
* SLES 11
* SLES 12
* SLES 15
* Ubuntu 18.04 LTS
* Ubuntu 20.04 LTS
* Ubuntu 22.04 LTS
Expand Down
8 changes: 4 additions & 4 deletions data/os/SLES/15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
# (Suse) SLES 15 defaults in alphabetical order per class
ssh::forward_x11_trusted: 'yes'
ssh::host: '*'
ssh::include: '/etc/ssh/ssh_config.d/*.conf /usr/etc/ssh/ssh_config.d/*.conf'
ssh::packages:
- 'openssh'
# SLES 15 groups the locale SendEnv directives across three lines.
ssh::send_env:
- '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'

# SLES 15 groups the locale AcceptEnv directives across the same three lines.
ssh::server::accept_env:
- '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'

ssh::server::authorized_keys_file:
- '.ssh/authorized_keys'

ssh::server::client_alive_interval: 180

ssh::server::permit_root_login: 'yes'
ssh::server::include: '/etc/ssh/sshd_config.d/*.conf /usr/etc/ssh/sshd_config.d/*.conf'
ssh::server::print_motd: 'no'
ssh::server::subsystem: 'sftp /usr/lib/ssh/sftp-server'
ssh::server::use_pam: 'yes'
Expand Down
1 change: 1 addition & 0 deletions spec/fixtures/testing/SLES-15_ssh_config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

Host *
ForwardX11Trusted yes
Include /etc/ssh/ssh_config.d/*.conf /usr/etc/ssh/ssh_config.d/*.conf
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL
1 change: 1 addition & 0 deletions spec/fixtures/testing/SLES-15_sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# See https://man.openbsd.org/sshd_config for more info

Include /etc/ssh/sshd_config.d/*.conf /usr/etc/ssh/sshd_config.d/*.conf
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
Expand Down
Loading