Closed ddnomad closed 5 years ago
@ddnomad thanks for reporting! Could you try an earlier release and see if it works? If so, then it's probably a regression recently introduced and I'll have someone on my team take a closer look. Try release 0.2.0
or 0.1.4
.
@osterman thanks for reaching out. Not sure I'll be able to test it anytime soon, got focus moved to other stuff meanwhile.
Will get back to you tho as soon as it's tested.
I encountered this error as well. I tried every version going down to 0.2.0
I can confirm that none of them worked until I got to 0.2.0
.
I was able to resolve this by updating /etc/pam.d/duo
to this:
#%PAM-1.0
auth requisite /lib64/security/pam_duo.so conf=/etc/pam_duo.conf
which makes sense given the documentation:
Depending on your OS or architecture, the pam_duo.so module might be in /lib64/security instead of the default location /lib/security. If so, specify the full path to pam_duo.so in the PAM config file, such as /lib64/security/pam_duo.so.
@paulcalabro thanks for the update!
If you can submit a PR for this, we'll promptly review.
So I was testing the project on AWS EC2 instance in docker container. After a fairly quick setup I received the following error when trying to login (server logs);
The following is an original SSH command executed from my local host;
Key authentication passed successfully and I was prompted for SSH key password.
This is a
Makefile
I've used to setup the whole thing on EC2 instance;I think the root cause is some DUO-related issues, probably related to https://github.com/cloudposse/bastion/issues/34.
Any clue where I went wrong with the setup?