Displaying 17 results from an estimated 17 matches for "kbdint_next_device".
2025 Feb 13
0
[PATCH] auth2-chall: Fix selection of the keyboard-interactive device
...e list contained "pam", then
also the device "pam-foo" was matching.
---
auth2-chall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth2-chall.c b/auth2-chall.c
index 021df8291..52d38e2ef 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -170,7 +170,7 @@ kbdint_next_device(Authctxt *authctxt, KbdintAuthctxt *kbdintctxt)
"keyboard-interactive", devices[i]->name))
continue;
if (strncmp(kbdintctxt->devices, devices[i]->name,
- len) == 0) {
+ len) == 0 && strlen(devices[i]->name) == len) {
kbdintctxt->dev...
2014 Dec 23
3
chaining AUTH methods -- adding GoogleAuthenticator 2nd Factor to pubkey auth? can't get the GA prompt :-/
...sshd[23109]: debug1: auth2_challenge: user=root
devs= [preauth]
Dec 23 07:05:21 server sshd[23109]: debug1: kbdint_alloc: devices 'pam'
[preauth]
Dec 23 07:05:21 server sshd[23109]: debug2: auth2_challenge_start:
devices pam [preauth]
Dec 23 07:05:21 server sshd[23109]: debug2: kbdint_next_device: devices
<empty> [preauth]
Dec 23 07:05:21 server sshd[23109]: debug1: auth2_challenge_start:
trying authentication method 'pam' [preauth]
Dec 23 07:05:21 server sshd[23109]: Postponed keyboard-interactive for
root from 2001:xxx:xxxx:xxx::107 port 48866 ssh2: ED25519
yy:yy:yy:...
2004 Jun 15
2
ssh daemon fails to call pam when user does not exist in /etc/passwd
...ion method
keyboard-interactive
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=jvijayku devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug3: ssh_msg_recv entering
debug3: ssh_msg_send: type 1
Postponed keyboard-interactive for illegal user jvijayku from
64.104.131.187 port 33729 ssh2
debug3: ssh_msg_recv entering
PAM file
=======...
2014 Dec 19
2
chaining AUTH methods -- adding GoogleAuthenticator 2nd Factor to pubkey auth? can't get the GA prompt :-/
I added an EXPLICIT
AuthenticationMethods publickey,keyboard-interactive
+ UsePam yes
to sshd_config. Now, at connect attempt I get
Password:
Verification code:
Password:
Verification code:
Password:
...
I.e.,
It's asking for Password, not accepting pubkey
AND
when given the password (which is correct), and the GA VerificationCode, it
simply repeats the credentials request.
2014 Dec 23
2
chaining AUTH methods -- adding GoogleAuthenticator 2nd Factor to pubkey auth? can't get the GA prompt :-/
On Tue, 23 Dec 2014, Dmt Ops wrote:
> testing goole-authenticator's standalone functionality, it
>
> > cd google-authenticator/libpam/
> > ./demo
> Verification code: 123456
> Login failed
> Invalid verification code
> >
>
> fails with an INVALID code, and
>
> > ./demo
> Verification code:
2003 Oct 09
5
kerberos + gssapi password change
...on method
keyboard-interactive
debug1: attempt 5 failures 4
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=agirardet devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug3: mm_sshpam_init_ctx
debug3: mm_request_send entering: type 46
debug3: mm_sshpam_init_ctx: waiting for MONITOR_ANS_PAM_INIT_CTX
debug3: mm_request_receive_expect entering: type 47
debug3: mm_reque...
2016 Oct 20
2
Custom PAM module not working correctly
...s 0 [preauth]
debug2: input_userauth_request: try method keyboard-interactive
[preauth]
debug1: keyboard-interactive devs [preauth]
debug1: auth2_challenge: user=root devs= [preauth]
debug1: kbdint_alloc: devices 'pam' [preauth]
debug2: auth2_challenge_start: devices pam [preauth]
debug2: kbdint_next_device: devices <empty> [preauth]
debug1: auth2_challenge_start: trying authentication method 'pam'
[preauth]
debug2: monitor_read: 4 used once, disabling now
debug2: monitor_read: 80 used once, disabling now
Postponed keyboard-interactive for root from 172.17.0.1 port 35432 ssh2
[preauth]...
2004 Nov 09
1
Solaris + PAM/LDAP + pubkey failing?
...ser=testuser devs=
Nov 9 10:00:07 sshserver sshd[27976]: [ID 800047 auth.debug] debug1: kbdint_alloc: devices 'pam'
Nov 9 10:00:07 sshserver sshd[27976]: [ID 800047 auth.debug] debug2: auth2_challenge_start: devices pam
Nov 9 10:00:07 sshserver sshd[27976]: [ID 800047 auth.debug] debug2: kbdint_next_device: devices <empty>
Nov 9 10:00:07 sshserver sshd[27976]: [ID 800047 auth.debug] debug1: auth2_challenge_start: trying authentication method 'pam'
Nov 9 10:00:07 sshserver sshd[27976]: [ID 800047 auth.debug] debug3: PAM: sshpam_init_ctx entering
Nov 9 10:00:07 sshserver sshd[27977]: [...
2003 Sep 17
5
openssh-3.7.1p1 segfaults
...tion method keyboard-interactive
debug1: attempt 2 failures 2
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=siegert devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug3: mm_sshpam_init_ctx
debug3: mm_request_send entering: type 46
debug3: monitor_read: checking request 46
debug3: mm_answer_pam_init_ctx
debug3: mm_sshpam_init_ctx: waiting for MONITOR_ANS_PAM_INIT...
2004 Oct 02
12
[Bug 938] "AllowGroups" option and secondary user's groups limit
...keyboard-interactive devs
Oct 2 20:06:35 linux sshd[8856]: debug1: auth2_challenge: user=john devs=
Oct 2 20:06:35 linux sshd[8856]: debug1: kbdint_alloc: devices 'pam'
Oct 2 20:06:35 linux sshd[8856]: debug2: auth2_challenge_start: devices
pam
Oct 2 20:06:35 linux sshd[8856]: debug2: kbdint_next_device: devices
<empty>
Oct 2 20:06:35 linux sshd[8856]: debug1: auth2_challenge_start: trying
authentication method 'pam'
Oct 2 20:06:35 linux sshd[8856]: debug3: PAM: sshpam_init_ctx entering
Oct 2 20:06:35 linux PAM-warn[8860]: function=[pam_sm_authenticate]
service=[sshd] terminal=...
2006 Aug 15
1
OpenSSH_4.3p2 fails to create a pty session
...hserv: service=ssh-connection, style=
debug1: keyboard-interactive devs
debug2: monitor_read: 3 used once, disabling now
debug1: auth2_challenge: user=emillbrandt devs=
debug3: mm_request_receive entering
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug3: mm_sshpam_init_ctx
debug3: mm_request_send entering: type 48
debug3: monitor_read: checking request 48
debug3: mm_sshpam_init_ctx: waiting for MONITOR_ANS_PAM_INIT_CTX
debug3: mm_answer_pam_init...
2015 Apr 07
2
OpenSSH 6.6.x sends invalid SSH_MSG_USERAUTH_INFO_REQUEST
...s 1 [preauth]
debug2: input_userauth_request: try method keyboard-interactive [preauth]
debug1: keyboard-interactive devs [preauth]
debug1: auth2_challenge: user=admin devs= [preauth]
debug1: kbdint_alloc: devices 'pam' [preauth]
debug2: auth2_challenge_start: devices pam [preauth]
debug2: kbdint_next_device: devices <empty> [preauth]
debug1: auth2_challenge_start: trying authentication method 'pam' [preauth]
debug3: mm_sshpam_init_ctx [preauth]
debug3: mm_request_send entering: type 104 [preauth]
debug3: mm_sshpam_init_ctx: waiting for MONITOR_ANS_PAM_INIT_CTX [preauth]
debug3: mm_reques...
2003 Sep 26
0
openssh 3.7.1p2 linux port problem
...nection method keyboard-interactive
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method
keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=root devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication
method 'pam'
debug3: mm_sshpam_init_ctx
debug3: mm_request_send entering: type 46
debug3: monitor_read: checking request 46
debug3: mm_answer_pam_init_ctx
debug3: mm_request_send entering: type 47
debug3: mm_request...
2017 Nov 01
2
Winbind, Kerberos, SSH and Single Sign On
...method keyboard-interactive
debug1: attempt 6 failures 2
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=EXAMPLE+user1 devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug3: PAM: sshpam_init_ctx entering
debug3: PAM: sshpam_query entering
debug3: ssh_msg_recv entering
debug3: PAM: sshpam_thread_conv entering, 1 messages
debug3: ssh_msg_send: type 1
debug3: ssh_msg_r...
2017 Nov 01
0
Winbind, Kerberos, SSH and Single Sign On
...bug1: attempt 6 failures 2
> debug2: input_userauth_request: try method keyboard-interactive
> debug1: keyboard-interactive devs
> debug1: auth2_challenge: user=EXAMPLE+user1 devs=
> debug1: kbdint_alloc: devices 'pam'
> debug2: auth2_challenge_start: devices pam
> debug2: kbdint_next_device: devices <empty>
> debug1: auth2_challenge_start: trying authentication method 'pam'
> debug3: PAM: sshpam_init_ctx entering
> debug3: PAM: sshpam_query entering
> debug3: ssh_msg_recv entering
> debug3: PAM: sshpam_thread_conv entering, 1 messages
> debug3: ssh_msg_...
2017 Nov 02
2
Winbind, Kerberos, SSH and Single Sign On
...2
>> debug2: input_userauth_request: try method keyboard-interactive
>> debug1: keyboard-interactive devs
>> debug1: auth2_challenge: user=EXAMPLE+user1 devs=
>> debug1: kbdint_alloc: devices 'pam'
>> debug2: auth2_challenge_start: devices pam
>> debug2: kbdint_next_device: devices <empty>
>> debug1: auth2_challenge_start: trying authentication method 'pam'
>> debug3: PAM: sshpam_init_ctx entering
>> debug3: PAM: sshpam_query entering
>> debug3: ssh_msg_recv entering
>> debug3: PAM: sshpam_thread_conv entering, 1 messages
&...
2006 Apr 21
4
Solaris 8 x86 rsa pubkey auth problem
...ection method
keyboard-interactive
debug1: attempt 2 failures 2
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=root devs=
debug1: kbdint_alloc: devices 'skey'
debug2: auth2_challenge_start: devices skey
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'skey'
debug3: mm_skey_query: entering
debug3: mm_request_send entering: type 16
debug3: mm_request_receive_expect entering: type 17
debug3: mm_request_receive entering
debug3: monitor_read: checking request...