X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 17A9038708CA
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=lists.roth.lu
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=cygwin-users@lists.roth.lu
To: cygwin@cygwin.com
From: Marki <cygwin-users@lists.roth.lu>
Subject: rsync password prompt doesn't capture input and shows password in
 clear
Message-ID: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu>
Date: Wed, 10 Mar 2021 19:11:15 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.1
MIME-Version: 1.0
Content-Language: en-US
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE,
 SPF_NONE autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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]

user@client /cygdrive/c/temp
$ 123
-bash: 123: command not found

user@client /cygdrive/c/temp
$ 123
-bash: 123: command not found

user@client /cygdrive/c/temp
$ 123
-bash: 123: command not found

user@client /cygdrive/c/temp
$

Bye,
Marki

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
