Expose SSH_AUTH_INFO_0 to PAM in RockyOS 8

Hi,

Hi can we reconfigure OpenSSH_8.0p1 or update to expose SSH_AUTH_INFO_0 to PAM module?

I am testing PAM module and I cannot get that info inside PAM module. I also found pam_ssh_user_info for RockyOS 9 but not 8.

is it possible to get it somehow in RockyOS 8?

The reason why pam_ssh_user_info.so is available for Rocky 9 is because it’s available in EPEL repository. If you want it for Rocky 8 you would need to submit a package request to EPEL for them to build it (if possible).

root@rocky9:~# dnf provides */pam_ssh_auth_info.so
Updating Subscription Management repositories.
Last metadata expiration check: 1:50:07 ago on Fri 29 Nov 2024 11:19:14 AM CET.
pam-ssh-auth-info-1.8.20230906-2.el9.x86_64 : PAM SSH Authentication Information
                                            : Module
Repo        : EPEL9
Matched from:
Filename    : /usr/lib64/security/pam_ssh_auth_info.so

So you need to make package request for pam-ssh-auth-info.

See: EPEL Package Request :: Fedora Docs

Hey, tnx for package part.
but I am not really interested in that package (it was more for reference).
I am more interested in SSH_AUTH_INFO_0 available to PAM modules with RockyOS 8 if possible so I can write my own python/pam module.