From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:102]) by sourceware.org (Postfix) with ESMTPS id 135433836C44 for ; Thu, 11 Mar 2021 10:50:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 135433836C44 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon@yandex.ru Received: from myt5-70642c4590a1.qloud-c.yandex.net (myt5-70642c4590a1.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2898:0:640:7064:2c45]) by forward102p.mail.yandex.net (Yandex) with ESMTP id A621B1D41B21 for ; Thu, 11 Mar 2021 13:50:02 +0300 (MSK) Received: from myt5-aad1beefab42.qloud-c.yandex.net (myt5-aad1beefab42.qloud-c.yandex.net [2a02:6b8:c12:128:0:640:aad1:beef]) by myt5-70642c4590a1.qloud-c.yandex.net (mxback/Yandex) with ESMTP id NGEDSzUaZV-o2I0R6tR; Thu, 11 Mar 2021 13:50:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1615459802; bh=YMqg1OIjoUkGoTaK3QUQmYy6B7s9o2RoaVsjtUHHQRI=; h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To; b=NMpGeCWIw3ua7bQwIs9UFN//6VdwgAcruXlU8raQJ7wsFAjvlZeHAEkzWKd2Pk/NZ eZ6pZ40zM9pnu9mft5WM5IbyY4YelBRCMM2UO5ZQuLqoy+iRY8/j9i/Sdkyc61ljU/ //QH+xJjXVP31WTkeBY8pFJU76pEh06qiCWbpbB0= Authentication-Results: myt5-70642c4590a1.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt5-aad1beefab42.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 7CsaZBcDPd-o1nahnRG; Thu, 11 Mar 2021 13:50:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 11 Mar 2021 10:42:23 -0000 Date: Thu, 11 Mar 2021 13:42:23 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <231883003.20210311134223@yandex.ru> To: Corinna Vinschen via Cygwin , cygwin@cygwin.com Subject: Re: rsync password prompt doesn't capture input and shows password in clear In-Reply-To: References: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP 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 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 10:50:07 -0000 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\ -- With best regards, Andrey Repin Thursday, March 11, 2021 13:40:03 Sorry for my terrible english...