delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/17/18:51:50

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:references; q=dns; s=default; b=WW1JgzLAxtwZk
O1wPa3nQ7HGClGX4BjnmHrZVGg8LkH1wRzHH87t5o8US7sjN/tjluMTa1onpWL2k
zdXwnqSwBFy/1O3bXcWWf/i0sBHmoljwvV8jcUaMlKDLmM9ohoOWpP9iGh5gH/5X
/vh3j87qGm1bUJFx3r9d0OzOlIuqxI=
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:references; s=default; bh=1EX6PnWAjkYzpKr9/M5
B2V/gA20=; b=MaF8EwlOj8R1wr9GT4VJkZDZyjxBzoogxRyvJX6EmhLffTu8ju/
B4THT0siAu+3xzJ3WEZLIlr1IXNoEPz18rFBliti1aWHI0mmiAiTBJqU6LkelvIh
cvzZ36JRsR4tig9fRQ5hEN9fGoeG4vnWRiNijvER5OmBWRdngE/3eF7w=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=tel, HSensitivity:Normal
X-HELO: mout.gmx.com
MIME-Version: 1.0
Message-ID: <trinity-f16159ec-869c-40f6-afb5-097e6448adbd-1521327095818@3c-app-mailcom-lxa02>
From: "John tel" <cygwin AT mail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygstart does not pass correct ssh login to rsync
Date: Sat, 17 Mar 2018 23:51:35 +0100
Sensitivity: Normal
References: <trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990 AT 3c-app-mailcom-lxa15>
X-UI-Message-Type: mail
X-UI-Out-Filterresults: notjunk:1;V01:K0:nH2mnHDB4C4=:PSgmHzbi0Can3kK9acVB6R SA2u2s+lGHHdF7v9CZXOkHtdzSQs3QzhHuT/KQFojGiIdr87DzvLAEg8+YuMVjQ3w9AOHth6l ath8NyB+jCkVQ0TGsB2YcdlPMjs6ySwysB6cK3fMpg/9KiQMOECX8KSzxOVyyvyGFyQMFxp+9 5YsBOGz3UyvG+HFleu1C6NjLgvrpmcfg1UcFMYX9E1K0cZOHuxexVFUhKvpi96pfCBPyc33n7 dIYuOjOf7zzaSwXk+YefzBwFDrEodea5uiOZjd4HPRJ07b+TORi5ZB75XT/X9hG//8Fh0L6Rd /BSkUXEwL6a/rZzgCDjFPsIxXaILdsNi5xK8E83VHMpZ1fw0Mislg6jAUaLFtKZ5ssQ6xS+vw KKTDx6CTqZFv9+Psgse1MjSWIV7b85wM4UfgZuS/Ikg1qmbPgd80sUpcdwNMX+pk0xWtV2rpj dGfcWfMEJYVvWpb6afRICjd2wAVORSmmLB/l5IdDoq6A2444W6wA
X-IsSubscribed: yes

Thanks for your reply.
I can see what you are asking this question.

Well, ultimately I need to run cygstart with the --hide flag because I want to start this in a hidden window.

Thanks


> Sent: Saturday, March 17, 2018 at 8:20 PM
> From: "John tel" <cygwin AT mail DOT com>
> To: cygwin AT cygwin DOT com
> Subject: cygstart does not pass correct ssh login to rsync
>
> 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