| Summary: | using AuthenticationMethods to require s/key and pam doesn't work | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Kevin Korb <kmk> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 7.1p1 | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 2451 | ||
|
Description
Kevin Korb
2015-11-20 08:42:34 AEDT
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.
Patch applied: https://anongit.mindrot.org/openssh.git/commit/?id=ac9473580dcd401f8281305af98635cdaae9bf96 This will be in OpenSSH 7.2 - thanks! Excellent. Thank you. Close all resolved bugs after 7.3p1 release |