From 4b3af6e1303b546440d16e740ef103ff29d9dd45 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 15 Oct 2025 16:33:29 -0400 Subject: [PATCH] zero-system: ssh and sshd configs --- pentoo/zero-system/files/zero-system-ssh.conf | 7 +++++++ .../files/{zero-system.conf => zero-system-sshd.conf} | 0 ...ystem-2025.3-r1.ebuild => zero-system-2025.3-r2.ebuild} | 7 +++++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 pentoo/zero-system/files/zero-system-ssh.conf rename pentoo/zero-system/files/{zero-system.conf => zero-system-sshd.conf} (100%) rename pentoo/zero-system/{zero-system-2025.3-r1.ebuild => zero-system-2025.3-r2.ebuild} (94%) diff --git a/pentoo/zero-system/files/zero-system-ssh.conf b/pentoo/zero-system/files/zero-system-ssh.conf new file mode 100644 index 000000000..cafbe7e37 --- /dev/null +++ b/pentoo/zero-system/files/zero-system-ssh.conf @@ -0,0 +1,7 @@ +Host * + ControlMaster auto + ControlPath ~/.ssh/sockets/%r@%h-%p + ControlPersist 3600 + Compression yes + PasswordAuthentication no + PreferredAuthentications publickey diff --git a/pentoo/zero-system/files/zero-system.conf b/pentoo/zero-system/files/zero-system-sshd.conf similarity index 100% rename from pentoo/zero-system/files/zero-system.conf rename to pentoo/zero-system/files/zero-system-sshd.conf diff --git a/pentoo/zero-system/zero-system-2025.3-r1.ebuild b/pentoo/zero-system/zero-system-2025.3-r2.ebuild similarity index 94% rename from pentoo/zero-system/zero-system-2025.3-r1.ebuild rename to pentoo/zero-system/zero-system-2025.3-r2.ebuild index 851c6b869..6e102c74f 100644 --- a/pentoo/zero-system/zero-system-2025.3-r1.ebuild +++ b/pentoo/zero-system/zero-system-2025.3-r2.ebuild @@ -135,9 +135,12 @@ src_install() { keepdir /etc/skel/.vim-scratch insinto /etc/ssh/sshd_config.d - doins "${FILESDIR}"/zero-system.conf - fperms 600 '/etc/ssh/sshd_config.d/zero-system.conf' + doins "${FILESDIR}"/zero-system-sshd.conf + fperms 600 '/etc/ssh/sshd_config.d/zero-system-sshd.conf' + insinto /etc/ssh/ssh_config.d + doins "${FILESDIR}"/zero-system-ssh.conf + fperms 644 '/etc/ssh/ssh_config.d/zero-system-ssh.conf' } pkg_postinst() {