Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth sufficient not working with sshd in OS X 10.11 (El Capitan) #82

Open
todd-a-jacobs opened this issue Oct 10, 2015 · 3 comments
Open

Comments

@todd-a-jacobs
Copy link

I've installed pam_yubico v2.20 via Homebrew, and added:

auth sufficient pam_yubico.so id=16 authfile=/etc/yubikey_mappings

to the top of /etc/pam.d/sshd. In addition, I've set:

ChallengeResponseAuthentication yes
UsePAM yes

in /etc/ssh/sshd_config.

After reloading SSH, no authentications work at all: not public key, not OTP, not even passwords. All one ever gets when the PAM module is enabled is Connection closed by <host>. However, removing pam_yubico.so lines from the file make SSH work again in the normal way, albeit without Yubikey support.

@klali
Copy link
Member

klali commented Oct 12, 2015

to me this seems to be a duplicate of #80

@todd-a-jacobs
Copy link
Author

@klali Nope. #80 is about challenge-response, as opposed to OTP. I'm not saying they aren't related, but they are definitely different issues.

@shankerwangmiao
Copy link
Contributor

How about add a

auth sufficient pam_permit.so

or

auth requisite pam_deny.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants