From 2634c582e7bf4f004e0b8ba6bbe440377db0d9c3 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Mon, 7 Sep 2026 02:40:43 +0200 Subject: [PATCH] Fix the chmod typo in the SUSE 15 ssh setup 'chmd' left the mode of the installed root authorized_keys to whatever cp gave it, and put a command not found in every install log. --- confluent_osdeploy/suse15/profiles/hpc/scripts/setupssh.sh | 2 +- confluent_osdeploy/suse15/profiles/server/scripts/setupssh.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/setupssh.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/setupssh.sh index 181e225a..0c6ff6d4 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/setupssh.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/setupssh.sh @@ -3,7 +3,7 @@ mkdir -p /mnt/root/.ssh/ chmod 700 /mnt/root/.ssh/ cp /root/.ssh/authorized_keys /mnt/root/.ssh/ -chmd 600 /mnt/root/.ssh/authorized_keys +chmod 600 /mnt/root/.ssh/authorized_keys cp /etc/ssh/*key* /mnt/etc/ssh/ for i in /etc/ssh/*-cert.pub; do echo HostCertificate $i >> /mnt/etc/ssh/sshd_config diff --git a/confluent_osdeploy/suse15/profiles/server/scripts/setupssh.sh b/confluent_osdeploy/suse15/profiles/server/scripts/setupssh.sh index 181e225a..0c6ff6d4 100644 --- a/confluent_osdeploy/suse15/profiles/server/scripts/setupssh.sh +++ b/confluent_osdeploy/suse15/profiles/server/scripts/setupssh.sh @@ -3,7 +3,7 @@ mkdir -p /mnt/root/.ssh/ chmod 700 /mnt/root/.ssh/ cp /root/.ssh/authorized_keys /mnt/root/.ssh/ -chmd 600 /mnt/root/.ssh/authorized_keys +chmod 600 /mnt/root/.ssh/authorized_keys cp /etc/ssh/*key* /mnt/etc/ssh/ for i in /etc/ssh/*-cert.pub; do echo HostCertificate $i >> /mnt/etc/ssh/sshd_config