trouble with sshpass unmaintained

Jim McNamara jmcnamara10001@proton.me
Sun Aug 4 04:34:24 GMT 2024


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.


More information about the Cygwin mailing list