mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
overlay sys-auth/google-oslogin: Add an sshd config snippet
The sshd config provided by this package is now marked as provided for compatibility only - it will be there in case there is still a symlink in /etc pointing to it. The new config snippet will be used by the enable oslogin stuff in the updated coreos-base/oem-gce package in following commits.
This commit is contained in:
parent
d698526730
commit
8151bc3154
@ -0,0 +1,3 @@
|
||||
# Needed for google oslogin
|
||||
AuthorizedKeysCommand /usr/libexec/google_authorized_keys
|
||||
AuthorizedKeysCommandUser root
|
@ -1,5 +1,7 @@
|
||||
# This is an old SSHD config file, unused in new Flatcar
|
||||
# installations. We provide it for backward compatibility.
|
||||
|
||||
# Use most defaults for sshd configuration.
|
||||
# Keep this in sync with coreos/init/configs/sshd_config
|
||||
Subsystem sftp internal-sftp
|
||||
ClientAliveInterval 180
|
||||
UseDNS no
|
||||
|
@ -49,6 +49,7 @@ src_install() {
|
||||
# config files the base Ignition config will create links to
|
||||
insinto /usr/share/google-oslogin
|
||||
doins "${FILESDIR}/sshd_config"
|
||||
doins "${FILESDIR}/60-flatcar-google-oslogin.conf"
|
||||
doins "${FILESDIR}/nsswitch.conf"
|
||||
doins "${FILESDIR}/pam_sshd"
|
||||
doins "${FILESDIR}/oslogin-sudoers"
|
Loading…
Reference in New Issue
Block a user