Merge pull request #1495 from flatcar-linux/dongsu/gce-oslogin-sshd-config

sys-auth/google-oslogin: accept ssh-rsa in sshd_config for openssh 8.8
This commit is contained in:
Dongsu Park 2021-12-13 19:09:25 +01:00 committed by GitHub
commit 4240f03432
2 changed files with 4 additions and 0 deletions

View File

@ -9,3 +9,7 @@ PrintMotd no # handled by PAM
# Needed for google oslogin # Needed for google oslogin
AuthorizedKeysCommand /usr/libexec/google_authorized_keys AuthorizedKeysCommand /usr/libexec/google_authorized_keys
AuthorizedKeysCommandUser root AuthorizedKeysCommandUser root
# Temporarily accept ssh-rsa algorithm for openssh >= 8.8,
# until most ssh clients could deprecate ssh-rsa.
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa