aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2023-12-24 20:43:19 +0100
committerRenken <renken@shione.net>2024-02-20 22:53:37 +0100
commitae9f353b9f8515ba94ebfb0103b9910ad3445d95 (patch)
treef609b87fabb435d5441e0f019a9652852ad1ad33 /config/generic
parentd83035d4fb029f7fcf634746b59edafb7e75b164 (diff)
downloadshione-ae9f353b9f8515ba94ebfb0103b9910ad3445d95.tar.gz
shione-ae9f353b9f8515ba94ebfb0103b9910ad3445d95.zip
config: generic: init openssh-server
Diffstat (limited to 'config/generic')
-rw-r--r--config/generic/openssh-server/debian/changelog5
-rw-r--r--config/generic/openssh-server/debian/compat1
-rw-r--r--config/generic/openssh-server/debian/control16
-rw-r--r--config/generic/openssh-server/debian/copyright8
-rw-r--r--config/generic/openssh-server/debian/openssh-server-config.install1
-rwxr-xr-xconfig/generic/openssh-server/debian/rules4
-rw-r--r--config/generic/openssh-server/debian/source/format1
-rw-r--r--config/generic/openssh-server/files/etc/ssh/sshd_config.d/custom.conf3
-rw-r--r--config/generic/openssh-server/files/root/.ssh/authorized_keys1
9 files changed, 40 insertions, 0 deletions
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 <renken@shione.net> 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 <renken@shione.net>
+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 <renken@shione.net>
+
+Files:
+ *
+Copyright: 2023, Renken <renken@shione.net>
+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