This is the mail archive of the
mailing list for the Cygwin project.
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 21:20:58 +0100
- Subject: cygstart does not pass correct ssh login to rsync
- Sensitivity: Normal
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 firstname.lastname@example.org
Using rsync on its own works:
rsync -PaSh --delete -e 'ssh -p 1000 -i /home/user/key' /cygdrive/C/Users/User/Desktop/ email@example.com:/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/ firstname.lastname@example.org:/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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple