rsync password prompt doesn't capture input and shows password in clear
Andrey Repin
anrdaemon@yandex.ru
Thu Mar 11 10:42:23 GMT 2021
Greetings, Corinna Vinschen via Cygwin!
> 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?
-rsync
+ssh
There's no MS-provided rsync, but there's ssh in C:\Windows\System32\OpenSSH\
--
With best regards,
Andrey Repin
Thursday, March 11, 2021 13:40:03
Sorry for my terrible english...
More information about the Cygwin
mailing list