Special Characters Dropped Pasting into Debian SSH sudo password prompt #18695

Open
opened 2026-01-31 06:21:37 +00:00 by claunia · 0 comments
Owner

Originally created by @markolbert on GitHub (Oct 15, 2022).

Windows Terminal version

1.15.2713.0

Windows build number

10.0.22621.0

Other Software

accessing remote Debian 10 system via ssh

Steps to reproduce

  1. Copy password containing a colon (:) character to clipboard
  2. Paste password in response to sudo request for password
  3. Fail

This issue suddenly appeared today for me. It definitely wasn't there even a couple of weeks ago (during which interval I installed Windows 11 2022 H2 and some other subsequent Windows update).

I've confirmed that normal cut and paste -- even into the Debian command line within the ssh shell -- works correctly. In other words, pasting the password, as clear text, to the Debian command prompt displays the correct text. But the sudo password interface rejects whatever it's getting.

Granted, this could be a problem with sudo or ssh. But I haven't updated them recently, so I doubt it. And it was working perfectly fine up until now.

Expected Behavior

The password should be accepted

Actual Behavior

the password gets rejected

Originally created by @markolbert on GitHub (Oct 15, 2022). ### Windows Terminal version 1.15.2713.0 ### Windows build number 10.0.22621.0 ### Other Software accessing remote Debian 10 system via ssh ### Steps to reproduce 1) Copy password containing a colon (:) character to clipboard 2) Paste password in response to sudo request for password 3) Fail This issue suddenly appeared today for me. It definitely wasn't there even a couple of weeks ago (during which interval I installed Windows 11 2022 H2 and some other subsequent Windows update). I've confirmed that normal cut and paste -- even into the Debian command line within the ssh shell -- works correctly. In other words, pasting the password, as clear text, to the Debian command prompt displays the correct text. But the sudo password interface rejects whatever it's getting. Granted, this could be a problem with sudo or ssh. But I haven't updated them recently, so I doubt it. And it was working perfectly fine up until now. ### Expected Behavior The password should be accepted ### Actual Behavior the password gets rejected
claunia added the Needs-TriageIssue-BugNeeds-Author-Feedback labels 2026-01-31 06:21:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18695