Displaying 1 result from an estimated 1 matches for "ssh_rsa_only".
2004 Jan 12
1
PAM_ERROR_MSG and PAM_TEXT_INFO from modules
...his is still curious since
pam_motd never works, and it prints /etc/motd with a PAM_TEXT_INFO
message via the same conversation mechanism.
here is the pam config ive tested with:
#%PAM-1.0
auth requisite pam_noulogin.so
auth required pam_listfile.so item=user sense=deny file=/etc/ssh/ssh_rsa_only onerr=succeed
auth required pam_unix.so
auth required pam_env.so # [1]
auth required pam_shells.so
account requisite pam_noulogin.so
account required pam_unix.so
session required pam_unix.so
session required pam_limits.so
session optional pam_motd.so # [1]...