On Sun, 04 Aug 2024 04:34:24 +0000 Jim McNamara wrote: > 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/
Questions: 1) Why did not you provide the error messages you got at all? 2) Why do you specify "-p 2222" to ssh? Did you change the ssh port to 2222 from default 22? 3) Why do you specify source and destination that seem to be on the same machine? /cygdrive/c/cygwin64/home/myuser1/shared/ myuser1@127.0.0.1:/home/myuser1 This command try to backup files in /home/myuser1/shared/ to /home/myuser1 which is the upper directory of former one. Do you really want to do that? -- Takashi Yano <takashi.y...@nifty.ne.jp> -- 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