summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-11-20 12:35:41 +1100
committerDamien Miller <djm@mindrot.org>2015-11-20 12:35:41 +1100
commitac9473580dcd401f8281305af98635cdaae9bf96 (patch)
treea393c0111f81a8240470b36038adefb89c2772de
parent88b6fcdeb87a2fb76767854d9eb15006662dca57 (diff)
fix multiple authentication using S/Key w/ privsep
bz#2502, patch from Kevin Korb and feandil_
-rw-r--r--monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 395a6f64..4060a6ec 100644
--- 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);
}