From: "John tel" <cygwin@mail.com>
To: cygwin@cygwin.com
Subject: cygstart does not pass correct ssh login to rsync
Date: Sat, 17 Mar 2018 20:31:00 -0000 [thread overview]
Message-ID: <trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990@3c-app-mailcom-lxa15> (raw)
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
next reply other threads:[~2018-03-17 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-17 20:31 John tel [this message]
2018-03-17 21:09 ` Marco Atzeri
2018-03-18 9:48 ` John tel
2018-03-18 10:07 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990@3c-app-mailcom-lxa15 \
--to=cygwin@mail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).