From 53d953e0921b6e79da55373e9805cd796383ef70 Mon Sep 17 00:00:00 2001 From: reachableceo Date: Mon, 27 Jul 2026 10:12:55 -0500 Subject: [PATCH] fix(security): newline-terminate managed authorized_keys files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both managed authorized_keys files lacked a trailing newline. sshd reads the final key fine on its own, but any subsequent append (tooling, a follow-up key, or the validation harness) concatenated onto the last key line, fusing two keys into one unparseable blob and silently breaking public-key auth for both. Add the trailing newline so the files concatenate safely. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush --- .../SSH/AuthorizedKeys/localuser-ssh-authorized-keys | 2 +- .../ConfigFiles/SSH/AuthorizedKeys/root-ssh-authorized-keys | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/localuser-ssh-authorized-keys b/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/localuser-ssh-authorized-keys index 3199386..36216a1 100644 --- a/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/localuser-ssh-authorized-keys +++ b/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/localuser-ssh-authorized-keys @@ -1,2 +1,2 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDHaBNuLS+GYGRPc9wne63Ocr+R+/Q01Y9V0FTv0RnG3 -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyMR0lFgiMKhQJ5aqy68nR0BQp1cNzi/wIThyuTV4a8 tsyscto@ultix-control \ No newline at end of file +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyMR0lFgiMKhQJ5aqy68nR0BQp1cNzi/wIThyuTV4a8 tsyscto@ultix-control diff --git a/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/root-ssh-authorized-keys b/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/root-ssh-authorized-keys index 3199386..36216a1 100644 --- a/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/root-ssh-authorized-keys +++ b/ProjectCode/ConfigFiles/SSH/AuthorizedKeys/root-ssh-authorized-keys @@ -1,2 +1,2 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDHaBNuLS+GYGRPc9wne63Ocr+R+/Q01Y9V0FTv0RnG3 -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyMR0lFgiMKhQJ5aqy68nR0BQp1cNzi/wIThyuTV4a8 tsyscto@ultix-control \ No newline at end of file +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyMR0lFgiMKhQJ5aqy68nR0BQp1cNzi/wIThyuTV4a8 tsyscto@ultix-control