From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id EAEDF388A018 for ; Thu, 11 Mar 2021 12:39:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EAEDF388A018 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5Q2f-1lLhVG1rkL-001QvD for ; Thu, 11 Mar 2021 13:38:59 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id B7438A82677; Thu, 11 Mar 2021 13:38:58 +0100 (CET) Date: Thu, 11 Mar 2021 13:38:58 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: rsync password prompt doesn't capture input and shows password in clear Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu> <231883003.20210311134223@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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@cygwin.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: , X-List-Received-Date: Thu, 11 Mar 2021 12:39:02 -0000 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@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\ If that ssh is first in $PATH, then that's the potential problem. Corinna