mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 00:31:09 +02:00
Merge pull request #2561 from pentoo/updates20251015
zero-system: ssh and sshd configs
This commit is contained in:
commit
7f545d7c8f
3 changed files with 12 additions and 2 deletions
7
pentoo/zero-system/files/zero-system-ssh.conf
Normal file
7
pentoo/zero-system/files/zero-system-ssh.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Host *
|
||||
ControlMaster auto
|
||||
ControlPath ~/.ssh/sockets/%r@%h-%p
|
||||
ControlPersist 3600
|
||||
Compression yes
|
||||
PasswordAuthentication no
|
||||
PreferredAuthentications publickey
|
||||
|
|
@ -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() {
|
||||
Loading…
Reference in a new issue