[openssh-commits] [openssh] 01/03: auth-pam: Add debugging information when we receive PAM messages

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Feb 16 06:53:49 AEDT 2026


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 9b0e50b4132679f0c09c0f1272bf1c45959103ea
Author: Marco Trevisan (Treviño) <mail at 3v1n0.net>
AuthorDate: Tue Oct 17 04:35:17 2023 +0200

    auth-pam: Add debugging information when we receive PAM messages
---
 auth-pam.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/auth-pam.c b/auth-pam.c
index 3192323d9..1a5604690 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -417,6 +417,9 @@ sshpam_thread_conv(int n, sshpam_const struct pam_message **msg,
 			break;
 		case PAM_ERROR_MSG:
 		case PAM_TEXT_INFO:
+			debug3("PAM: Got message of type %d: %s",
+			       PAM_MSG_MEMBER(msg, i, msg_style),
+			       PAM_MSG_MEMBER(msg, i, msg));
 			if ((r = sshbuf_put_cstring(buffer,
 			    PAM_MSG_MEMBER(msg, i, msg))) != 0)
 				fatal("%s: buffer error: %s",

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list