delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/10/13:11:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT lists DOT roth DOT lu
To: cygwin AT cygwin DOT com
From: Marki <cygwin-users AT lists DOT roth DOT 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
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 AT cygwin DOT 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 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>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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]

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

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

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

user AT 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

- Raw text -


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