Skip to content

Commit 5dbddec

Browse files
committed
Add support for Debian 12 and Ubuntu 24.04
Simple copy of Debian 11 and Ubuntu 22.04 config. Saw no reason to change any of the defaults. Definitely better than the global defaults... Fixes: #427 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
1 parent 72e6d63 commit 5dbddec

File tree

3 files changed

+53
-2
lines changed

3 files changed

+53
-2
lines changed

data/os/Debian/12.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
# Debian 12 defaults in alphabetical order per class
3+
ssh::gss_api_authentication: 'yes'
4+
ssh::hash_known_hosts: 'yes'
5+
ssh::host: '*'
6+
ssh::include: '/etc/ssh/ssh_config.d/*.conf'
7+
ssh::packages:
8+
- 'openssh-client'
9+
ssh::send_env:
10+
- 'LANG'
11+
- 'LC_*'
12+
13+
ssh::server::accept_env:
14+
- 'LANG'
15+
- 'LC_*'
16+
ssh::server::kbd_interactive_authentication: 'no'
17+
ssh::server::include: '/etc/ssh/sshd_config.d/*.conf'
18+
ssh::server::packages:
19+
- 'openssh-server'
20+
ssh::server::print_motd: 'no'
21+
ssh::server::service_name: 'ssh'
22+
ssh::server::subsystem: 'sftp /usr/lib/openssh/sftp-server'
23+
ssh::server::use_pam: 'yes'
24+
ssh::server::x11_forwarding: 'yes'

data/os/Ubuntu/24.04.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
# Ubuntu 24.04 defaults in alphabetical order per class
3+
ssh::gss_api_authentication: 'yes'
4+
ssh::hash_known_hosts: 'yes'
5+
ssh::host: '*'
6+
ssh::include: '/etc/ssh/ssh_config.d/*.conf'
7+
ssh::packages:
8+
- 'openssh-client'
9+
ssh::send_env:
10+
- 'LANG'
11+
- 'LC_*'
12+
13+
ssh::server::accept_env:
14+
- 'LANG'
15+
- 'LC_*'
16+
ssh::server::kbd_interactive_authentication: 'no'
17+
ssh::server::include: '/etc/ssh/sshd_config.d/*.conf'
18+
ssh::server::packages:
19+
- 'openssh-server'
20+
ssh::server::password_authentication: 'yes'
21+
ssh::server::print_motd: 'no'
22+
ssh::server::service_name: 'ssh'
23+
ssh::server::subsystem: 'sftp /usr/lib/openssh/sftp-server'
24+
ssh::server::use_pam: 'yes'
25+
ssh::server::x11_forwarding: 'yes'

metadata.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
{
4444
"operatingsystem": "Debian",
4545
"operatingsystemrelease": [
46-
"11"
46+
"11",
47+
"12"
4748
]
4849
},
4950
{
@@ -86,7 +87,8 @@
8687
"operatingsystem": "Ubuntu",
8788
"operatingsystemrelease": [
8889
"20.04",
89-
"22.04"
90+
"22.04",
91+
"24.04"
9092
]
9193
}
9294
],

0 commit comments

Comments
 (0)