Bug 3371

Summary: Allow asterisks to be displayed during password input
Product: Portable OpenSSH Reporter: konsolebox
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: 8.8p1   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Patch none

Description konsolebox 2021-12-10 04:47:47 AEDT
Created attachment 3557 [details]
Patch

Sudo has a feature that allows it to be configured to display * on password input.  Perhaps this can also be done in SSH.

https://github.com/lbt/sudo/blob/master/src/tgetpass.c#L267

I created a small implementation on the portable version for this.  Please see attached patch file.  Original target version was 8.6p1 but it also works with 8.8p1.  It still needs configurability.