delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/17/16:21:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:message-id:from:to:subject
:content-type:date; q=dns; s=default; b=TBAhVpuLiQYu6lUmke36WjqT
s/b0lNHG1XPNmqpY8rfev+iZSNSQCC2CwKt31rSEvCMWLzyDDmf5NlfBZ+E9juzu
gtHQkcGIQuiqzVzvfakI7zANmUqMQ8sYf5AVZOeCYIZy2m63sHlIOO2evgVSPovs
tNTAaBZPIs74fwfKBeE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:message-id:from:to:subject
:content-type:date; s=default; bh=ESl+3MYi09EKdvwW86JPxM8DMP4=; b=
CZfrcDz6lwtnbGLFrYF0nOfwEqtJgyKPtmNcF6wikHr29c7CakghhRbd9SPRmlGh
VRD/03t6bBW+N/VHprYsIzrNvtUFKJf3ZM5XlzEEPD7c0Bp2lOgszz4KIC047NgW
yS2AK3g9cgw4L3V6+T/GMvfJkQzaAqkdS1xCjvYfQPg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=U*admin, H*F:D*mail.com, HSensitivity:Normal
X-HELO: mout.gmx.com
MIME-Version: 1.0
Message-ID: <trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990@3c-app-mailcom-lxa15>
From: "John tel" <cygwin AT mail DOT com>
To: cygwin AT cygwin DOT com
Subject: cygstart does not pass correct ssh login to rsync
Date: Sat, 17 Mar 2018 21:20:58 +0100
Sensitivity: Normal
X-UI-Out-Filterresults: notjunk:1;V01:K0:WnKVkZUYM7o=:p1+5kxZsrdAP3b3P+iIqWK KDJh1lTlW3XgsyfgoHq1e+Q7/dt44rQOXZ8HGDi9wvG/gqpDRQAZ1AdWCD1lCfgORz2e4uDUe GoHQKnJzgYKF6egRAKuh+NFg8eRRy7r9VUZrKmadA16L/NNiwC4IuwFlDBKe/H5ptNO/VBt14 zjMAgKgMuEgLIBzbRhOS2gwAyWTkLjMyFPQW5DpuSs/EMROtOGNwbd1YSorY0hbxxwLYCLu2B oaubmFKZAy5Emad7cVAJGcATtRAklHTpvHRCgnkXov/2qo5yvrXV1d9HFkQV47u3fBnVuhMVe H6e+eVHvOxV+HJ1a2etUFMq99AFW2Fur3P2aGvL/V4o/kRyhyPyUex0G+qDHx8Tu81WUwEm1Z DOslK5PzA4wch6JJvo2dVaVmZwkT2zQJw3amPLMKJ5FScE6Tgr1p1mS7BPhiYsp6foOpfLVY9 UlAzrbhkkJOJLXw0ZrQGajlssMelvo4BcneNtssI+7uTnqo6yTSu

Hi,
 
I've got a strange problem when combining cygstart with rsync.
 
So using cygstart and ssh to login works:
cygstart ssh -p 1000 -i /home/user/key admin AT 192 DOT 168 DOT 1 DOT 11
 
Using rsync on its own works:
rsync -PaSh --delete -e 'ssh -p 1000 -i /home/user/key' /cygdrive/C/Users/User/Desktop/ admin AT 192 DOT 168 DOT 1 DOT 11:/destination/
 
But combining cygstart and rsync does not as the ssh login fails and it asks for the passwrod instead:
cygstart rsync -PaSh --delete -e 'ssh  -vvv -p 1000 -i /home/user/key' /cygdrive/C/Users/User/Desktop/ admin AT 192 DOT 168 DOT 1 DOT 11:/destination/
 
Unfortunately despite using the -vvv flag, no error message appears other than the request for the user password.
 
 
Does anyone have any ideas as to how to resolve this?
 
Thanks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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