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.
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.