This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygstart does not pass correct ssh login to rsync
- From: "John tel" <cygwin at mail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 17 Mar 2018 23:51:35 +0100
- Subject: Re: cygstart does not pass correct ssh login to rsync
- References: <trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990@3c-app-mailcom-lxa15>
- Sensitivity: Normal
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@mail.com>
> To: cygwin@cygwin.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@192.168.1.11
>
> Using rsync on its own works:
> rsync -PaSh --delete -e 'ssh -p 1000 -i /home/user/key' /cygdrive/C/Users/User/Desktop/ admin@192.168.1.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@192.168.1.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