X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51AB3388A438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1615466344; bh=C5ptAGCEQwhAP6rxbEGYnER5HJMuPmqeYu+TbqbzBJI=; 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=K77CtsGKEhH6ZVO4UQ3YX6BLQq5D2g6ZPFW4ZnCWx5YXgnKzltqYyx3NOn2ZWluT8 tcN7Kich2yZpgH0JlvXYJ6A1CZ+QZu01hYIXMTgzTc63E6HXVKIL/3Irtu+0vlaT1C CljgbTnnHkAt6TRFdzRCGtfepsqlnUXyfKKTbvrI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EAEDF388A018 Date: Thu, 11 Mar 2021 13:38:58 +0100 To: cygwin AT cygwin DOT com Subject: Re: rsync password prompt doesn't capture input and shows password in clear Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <3ba5c0ad-369b-4703-f371-a3b2e206447a AT roth DOT lu> <231883003 DOT 20210311134223 AT yandex DOT ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <231883003.20210311134223@yandex.ru> X-Provags-ID: V03:K1:H/YWtSkJ8dkZjEsdFq+De/2yx3+rB/idKNHozTqF3pHerU9mNSp Gl17gMIC/KX6AMT9gQ1FoPFbH0RDuJtv+nr/eRNNiqa8OQeKH+Wm4oypOFgIogM28z/A2g4 6UhEshXR+g+4eyVxEtggbWtBacVRPPCEJdK0HinyeyjjAmpjfAYbY1STUgF6/et6s1kDoDQ XM2i80o9IRAUG33eFuiKQ== X-UI-Out-Filterresults: notjunk:1;V03:K0://1K/t5+ASU=:zAn2nJ3XMDu0pjh071zIgt GyzVYlQBdm8RjozD3e8Axwws1pzviuuHGcqyUo4OZ9SCDN1pRlUBdWi5uJ4eae4aGW78FNKEw AQLzAgQOT10YvYIewbOKmIzkFjdgTSm16mXwFpqytQQP/b7dvzEZODT51WRBFOe9wSW6QG0EA 5YTdUyG/85EAj1UetD5tif138eUNTmZDknxKRyIL2LsOST/rIchYKzYvwE7D0dniTk4V/B5Ac xzJvraRUXNrt7oWZN/aGOlRTE2bxHtrwXrlO9S2qIRVVJWBWtxYzecZjbJji1ar4wutH+ncAE LwQvIUHp+qKgS11Mo6Ggb10X8sxCJw91YK3T59ZeFK4cJcfLVyRKMrU3tYe39wofszEo3J837 dcllQ1qbkhQX3FZW+D4+PMQP0b18KZuubuxutSksbOWES0PU+zueW1SAxomYDu9MRkxuqH+KL E+0naPt/Jg== X-Spam-Status: No, score=-101.0 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Mar 11 13:42, Andrey Repin wrote: > 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 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? > > -rsync > +ssh > > There's no MS-provided rsync, but there's ssh in C:\Windows\System32\OpenSSH\ If that ssh is first in $PATH, then that's the potential problem. 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