[PATCH 0/4] [PATCH] Immediately report interactive instructions

Marco Trevisan marco at ubuntu.com
Fri Feb 14 03:22:05 AEDT 2025


From: "Marco Trevisan" <marco at ubuntu.com>

This serie of patches have been already submitted via [1], but i'm
sending them again to the ML, to see if they can get some more traction.

The patches are already part of Ubuntu openssh since 24.04, and they
basically allow proper immediate instruction reporting to clients using
PAM (as per RFC4256).

This follows the approach that has been reported and discussed in bug
2876 [2], although as per discussion in the said PR thare have been
introduced no options to keep previous behavior working.

[1] https://github.com/openssh/openssh-portable/pull/452
[2] https://bugzilla.mindrot.org/show_bug.cgi?id=2876

Marco Trevisan (Treviño) (4):
  auth: Add KbdintResult definition to define result values explicitly
  auth-pam: Add an enum to define the PAM done status
  auth-pam: Add debugging information when we receive PAM messages
  auth-pam: Immediately report interactive instructions to clients

 auth-bsdauth.c |  2 +-
 auth-pam.c     | 51 ++++++++++++++++++++++++++++++--------------------
 auth.h         |  5 +++++
 auth2-chall.c  |  4 ++--
 4 files changed, 39 insertions(+), 23 deletions(-)

-- 
2.34.1



More information about the openssh-unix-dev mailing list