rsync password prompt doesn't capture input and shows password in clear
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Mar 11 10:14:50 GMT 2021
On Mar 10 19:11, Marki wrote:
> Hello,
>
> SSH password prompt captures the input correctly, and does not show it.
>
> user@client /cygdrive/c/temp
> $ ssh server
> Password:
> Password:
>
> Rsync on the other hand won't even let me enter the password correctly.
>
> user@client /cygdrive/c/temp
> $ rsync -av xmppdb.db root@server:/tmp/
> Password: 123
> 123
> 123
> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(701)
> [sender=3.2.4dev]
I tried this myself in mintty as well as in a Console window, and in
both cases the password was not echoed and taken correctly:
$ rsync -av x.exe user@remote:/tmp/
Password:
sending incremental file list
x.exe
[...]
Are you sure you're using the Cygwin rsync?
Corinna
More information about the Cygwin
mailing list