delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/11/05:15:08

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 774273835427
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1615457703;
bh=L8dBOb+DADicEeuny4LL3/TC1wWRfK3hk984WZbuInc=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=PkZ3W8WWnkIvML2VH32MOtLgS3RdKI3jRpWORmDFiqMW+MACZkLYNWbAf/w6jXNls
2ceYaCfdbIMEuVM+1IyMZdaRiO0wiCjUKprrOX/vSKWCcD+MddN2NbQM4UWgqyj+2z
xYnYAi2hAXC3b1dueQQ0x7EJlOhzWzb0wTwi/5Cw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E5686385481C
Date: Thu, 11 Mar 2021 11:14:50 +0100
To: Marki <cygwin-users AT lists DOT roth DOT lu>
Subject: Re: rsync password prompt doesn't capture input and shows password
in clear
Message-ID: <YEntmr3dnYxl14vm@calimero.vinschen.de>
Mail-Followup-To: Marki <cygwin-users AT lists DOT roth DOT lu>, cygwin AT cygwin DOT com
References: <3ba5c0ad-369b-4703-f371-a3b2e206447a AT roth DOT lu>
MIME-Version: 1.0
In-Reply-To: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu>
X-Provags-ID: V03:K1:DoIFVGVostym+DOHCPZuX6F2uoU4STVOU68YfChMOD2sc+tCj66
dMiJQX4EeLjfMlZapVVkkS3D55hbU1AGR1IQ+m9AwqRMHa8jRC2rZoJTdx3nxOe7J4Wwm3k
4P1lJnhaVz7+EI17AN70mQOkvRa+aAuh5yxo9RKo0HATazVMBeQArj3rSWQLJ8zLQWPAcgm
3stsD+jAYVx2yWqEl0lVw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:GKHz2O3LHPA=:bHTXgg5LBCMDYeWQqN4+jJ
bw4zOFamU9Uzke2BNYRiommbMCHnsQKEatXRatWPmDXXe18vO0MCaibxsOcgMoT0uWGAgn0Y4
DXIxiSTIYe9xr9zr9Uwo/HLz36+sGT1XKfi8qD05a7aIHD3XOzyh1rOrMPiENOy9P4fMjbTt1
DhtZ5pYK08SQkDLehNcITnZ1H2YsmFl2aHYQOR+a7PbOMn0TM13vnwSdWfh4jm97c9JpK6ced
Qwc1MFCvpTHwWNmTyp7PHqMIIYoU8Fc6rPh9pCO3ZxxfFRWVUmE/P+ZoL9iIEijG0mjdjpmZq
YxHUbK8Aey8kXbtVoYucKNHdxmVcOGNYmR4W77XrBiHVxGi6QTKssHgtn0tIm7fDu5E+d38x1
V4NwXLFzsrMd3p8/5bFUY2dHQ4ReJYcOLujVyKvx7dbG+KJSUdpHbaWWr3XTTdrDTKEdabkVP
rh3f9NZaZg==
X-Spam-Status: No, score=-101.3 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mar 10 19:11, Marki wrote:
> Hello,
> 
> SSH password prompt captures the input correctly, and does not show it.
> 
> user AT client /cygdrive/c/temp
> $ ssh server
> Password:
> Password:
> 
> Rsync on the other hand won't even let me enter the password correctly.
> 
> user AT client /cygdrive/c/temp
> $ rsync -av xmppdb.db root AT 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 AT remote:/tmp/
  Password:
  sending incremental file list
  x.exe
  [...]

Are you sure you're using the Cygwin rsync?


Corinna
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019