How to Install and Uninstall pam_ssh_user_auth.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 17,2024

1. Install "pam_ssh_user_auth.x86_64" package

Please follow the steps below to install pam_ssh_user_auth.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install pam_ssh_user_auth.x86_64

2. Uninstall "pam_ssh_user_auth.x86_64" package

Here is a brief guide to show you how to uninstall pam_ssh_user_auth.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove pam_ssh_user_auth.x86_64 $ sudo dnf autoremove

3. Information about the pam_ssh_user_auth.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 0:52:30 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : pam_ssh_user_auth
Version : 1.0
Release : 6.el9
Architecture : x86_64
Size : 15 k
Source : pam_2fa-1.0-6.el9.src.rpm
Repository : epel
Summary : PAM module to help with SSH_AUTH_INFO_0
URL : https://cern-cert.github.io/pam_2fa/
License : GPLv3+
Description : pam_ssh_user_auth checks the value of SSH_AUTH_INFO_0 and will return success
: if is non-empty and failure if it is. It can be used to skip other PAM
: authentication methods with a configuration like:
:
: auth [success=1 ignore=ignore default=die] pam_ssh_user_auth.so
: auth substack password-auth