Merge pull request #2561 from pentoo/updates20251015

zero-system: ssh and sshd configs
This commit is contained in:
github-actions[bot] 2025-10-15 20:42:25 +00:00 committed by GitHub
commit 7f545d7c8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,7 @@
Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 3600
Compression yes
PasswordAuthentication no
PreferredAuthentications publickey

View file

@ -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() {