Hi-

This commmand doesnt seem to work:

 
sshpass -p 'your_password' rsync -avvv -e 'ssh -4 -vvv -o 
StrictHostKeyChecking=no -o PreferredAuthentications=password -o 
PubkeyAuthentication=no -p 2222' /cygdrive/c/cygwin64/home/myuser1/shared/ 
myuser1@127.0.0.1:/home/myuser1/

The issue is that sshpass wont pass passwd to rsync to ssh in this direction ->

I tried redirection and piping, but it complained of a pseudo terminal. When i 
uses ssh by itself it works, but when i chain sshpass to this other stuff like 
rsync it bombs out. This is unfortunate because grsync doesnt seem to have 
everything i need i am using it in xwindow in cygwin.

Please do you have a suggestion besides fooliing with except package.

thanks,
jim



Sent with Proton Mail secure email.

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

Reply via email to