public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: Marki <cygwin-users@lists.roth.lu>
Cc: cygwin@cygwin.com
Subject: Re: rsync password prompt doesn't capture input and shows password in clear
Date: Thu, 11 Mar 2021 11:14:50 +0100	[thread overview]
Message-ID: <YEntmr3dnYxl14vm@calimero.vinschen.de> (raw)
In-Reply-To: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu>

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

  parent reply	other threads:[~2021-03-11 10:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 18:11 Marki
2021-03-10 20:58 ` Andrey Repin
2021-03-10 22:42   ` Marki
2021-03-10 22:54     ` Andrey Repin
2021-03-10 23:20       ` Marki
2021-03-11  2:11         ` David Dombrowsky
2021-03-11 10:14 ` Corinna Vinschen [this message]
2021-03-11 10:42   ` Andrey Repin
2021-03-11 12:38     ` Corinna Vinschen
2021-03-11 12:53       ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YEntmr3dnYxl14vm@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-users@lists.roth.lu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).