You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a bug in OpenSSH_8.7p1, where if both AuthorizedKeysCommand and AuthorizedPrincipalsCommand parameters are used in sshd_config, then AuthorizedPrincipalsCommand block is ignored and certificate based auth does not work.
To Reproduce
Here is a sample sshd_config stanza that does not work:
I confirmed the behavior, because when I commented out AuthorizedKeysCommand and AuthorizedKeysCommandUser entries I was able to ssh using certificates.
Describe the bug
There is a bug in OpenSSH_8.7p1, where if both
AuthorizedKeysCommand
andAuthorizedPrincipalsCommand
parameters are used in sshd_config, then AuthorizedPrincipalsCommand block is ignored and certificate based auth does not work.To Reproduce
Here is a sample sshd_config stanza that does not work:
I confirmed the behavior, because when I commented out
AuthorizedKeysCommand
andAuthorizedKeysCommandUser
entries I was able to ssh using certificates.This issue is mentioned here: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2031942
Expected behavior
I would expect both AuthorizedKeys and AuthorizedPrincipals to work.
The text was updated successfully, but these errors were encountered: