[Bug 3892] New: When connecting via SSH, if the password is about to expire or has already expired, two duplicate statements will be prompted

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Nov 6 22:49:07 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3892

            Bug ID: 3892
           Summary: When connecting via SSH, if the password is about to
                    expire or has already expired, two duplicate
                    statements will be prompted
           Product: Portable OpenSSH
           Version: 9.6p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: 1793702515 at qq.com

Hello, about openssh, I have noticed a phenomenon. When connecting via
SSH, if the password is about to expire or has already expired, two
duplicate statements will be prompted.

Like this,

[root at localhost.localdomain ~]$ ssh testuser at xx.xx.xx.xx

Authorized users only. All activities may be monitored and reported.
testuser at xx.xx.xx.xx's password: 
Warning: your password will expire in 1 day.
Warning: your password will expire in 1 day.

Authorized users only. All activities may be monitored and reported.

For this, I wonder if the two hint statements are somewhat redundant? 
Looking forward to your reply, I would greatly appreciate it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list