[Bug 2502] using AuthenticationMethods to require s/key and pam doesn't work

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 20 10:13:09 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2502

--- Comment #1 from Kevin Korb <kmk at sanitarium.net> ---
I worked with feandil_ in IRC on this issue and he came up with this
patch which appears to solve my problem:
--- a/monitor.c
+++ b/monitor.c
@@ -1044,7 +1044,8 @@ mm_answer_skeyrespond(int sock, Buffer *m)
        debug3("%s: sending authenticated: %d", __func__, authok);
        mm_request_send(sock, MONITOR_ANS_SKEYRESPOND, m);

-       auth_method = "skey";
+       auth_method = "keyboard-interactive";
+       auth_submethod = "skey";

        return (authok != 0);
 }

Also, we discovered that the problem doesn't happen if
UsePrivilegeSeparation is off.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list