From ae9f353b9f8515ba94ebfb0103b9910ad3445d95 Mon Sep 17 00:00:00 2001 From: Renken Date: Sun, 24 Dec 2023 20:43:19 +0100 Subject: config: generic: init openssh-server --- config/generic/openssh-server/debian/changelog | 5 +++++ config/generic/openssh-server/debian/compat | 1 + config/generic/openssh-server/debian/control | 16 ++++++++++++++++ config/generic/openssh-server/debian/copyright | 8 ++++++++ .../openssh-server/debian/openssh-server-config.install | 1 + config/generic/openssh-server/debian/rules | 4 ++++ config/generic/openssh-server/debian/source/format | 1 + .../files/etc/ssh/sshd_config.d/custom.conf | 3 +++ .../openssh-server/files/root/.ssh/authorized_keys | 1 + 9 files changed, 40 insertions(+) create mode 100644 config/generic/openssh-server/debian/changelog create mode 100644 config/generic/openssh-server/debian/compat create mode 100644 config/generic/openssh-server/debian/control create mode 100644 config/generic/openssh-server/debian/copyright create mode 100644 config/generic/openssh-server/debian/openssh-server-config.install create mode 100755 config/generic/openssh-server/debian/rules create mode 100644 config/generic/openssh-server/debian/source/format create mode 100644 config/generic/openssh-server/files/etc/ssh/sshd_config.d/custom.conf create mode 100644 config/generic/openssh-server/files/root/.ssh/authorized_keys (limited to 'config') diff --git a/config/generic/openssh-server/debian/changelog b/config/generic/openssh-server/debian/changelog new file mode 100644 index 0000000..74efa95 --- /dev/null +++ b/config/generic/openssh-server/debian/changelog @@ -0,0 +1,5 @@ +openssh-server-config (1.0) unstable; urgency=low + + * Initial release. + + -- Renken Sun, 24 Dec 2023 15:25:54 +0100 diff --git a/config/generic/openssh-server/debian/compat b/config/generic/openssh-server/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/config/generic/openssh-server/debian/compat @@ -0,0 +1 @@ +9 diff --git a/config/generic/openssh-server/debian/control b/config/generic/openssh-server/debian/control new file mode 100644 index 0000000..6706361 --- /dev/null +++ b/config/generic/openssh-server/debian/control @@ -0,0 +1,16 @@ +Source: openssh-server-config +Section: tasks +Priority: optional +Maintainer: Renken +Rules-Requires-Root: no +Build-Depends: debhelper (>= 13.11~), config-package-dev (>= 4.15~) +Standards-Version: 4.1.0 + +Package: openssh-server-config +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, openssh-server +Provides: ${diverted-files} +Conflicts: ${diverted-files} +Description: Opinionated openssh-server configuration. + Opinionated openssh-server configuration. diff --git a/config/generic/openssh-server/debian/copyright b/config/generic/openssh-server/debian/copyright new file mode 100644 index 0000000..2fff8a7 --- /dev/null +++ b/config/generic/openssh-server/debian/copyright @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://gitlab.com/renken/nichijou +Upstream-Contact: Renken + +Files: + * +Copyright: 2023, Renken +License: GPL-3 diff --git a/config/generic/openssh-server/debian/openssh-server-config.install b/config/generic/openssh-server/debian/openssh-server-config.install new file mode 100644 index 0000000..5b79850 --- /dev/null +++ b/config/generic/openssh-server/debian/openssh-server-config.install @@ -0,0 +1 @@ +files/* / diff --git a/config/generic/openssh-server/debian/rules b/config/generic/openssh-server/debian/rules new file mode 100755 index 0000000..a089a9e --- /dev/null +++ b/config/generic/openssh-server/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with config-package diff --git a/config/generic/openssh-server/debian/source/format b/config/generic/openssh-server/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/config/generic/openssh-server/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/config/generic/openssh-server/files/etc/ssh/sshd_config.d/custom.conf b/config/generic/openssh-server/files/etc/ssh/sshd_config.d/custom.conf new file mode 100644 index 0000000..ac755e6 --- /dev/null +++ b/config/generic/openssh-server/files/etc/ssh/sshd_config.d/custom.conf @@ -0,0 +1,3 @@ +# To disable tunneled clear text passwords, change to no here! +PasswordAuthentication no +PermitEmptyPasswords no diff --git a/config/generic/openssh-server/files/root/.ssh/authorized_keys b/config/generic/openssh-server/files/root/.ssh/authorized_keys new file mode 100644 index 0000000..9887d3e --- /dev/null +++ b/config/generic/openssh-server/files/root/.ssh/authorized_keys @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/LZ2vJmJ2AyQglNQ/8JYTl0yWZASjGBVwVe+Z36oYY mail@renken.systems/siga -- cgit v1.2.3