aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic/openssh-server/files
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/openssh-server/files
parentd83035d4fb029f7fcf634746b59edafb7e75b164 (diff)
downloadshione-ae9f353b9f8515ba94ebfb0103b9910ad3445d95.tar.gz
shione-ae9f353b9f8515ba94ebfb0103b9910ad3445d95.zip
config: generic: init openssh-server
Diffstat (limited to 'config/generic/openssh-server/files')
-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
2 files changed, 4 insertions, 0 deletions
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