]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix multiple authentication using S/Key w/ privsep
authorDamien Miller <djm@mindrot.org>
Fri, 20 Nov 2015 01:35:41 +0000 (12:35 +1100)
committerDamien Miller <djm@mindrot.org>
Fri, 20 Nov 2015 01:35:41 +0000 (12:35 +1100)
bz#2502, patch from Kevin Korb and feandil_

monitor.c

index 395a6f64eb4e1ad22b437dd73baaa832a1e6b9f8..4060a6ec9b29020e556548fdcf6cfb2d6009eb54 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -1035,7 +1035,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);
 }