X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2164F3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1722920437; bh=G5TWVTGmZDd31ISV2vxhsy/n8Rdpa9ksmpcqruOH8GI=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ES9OZBAI9poNHPWnjJc86gK5RPL2mQEDhzJUQiN1cyC3yQsvIHR4oOI0Hivnj4aO3 utUPAg4/yhiwslALelF74E4V0xEWSYPbUWgXQ4nMsn1oGX6Er8atlc4HfMHVszgpCW eoQxnq3LldmI90HJwK4RnRyzvUHeco7VhbQgLKbk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C33ED3858401 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C33ED3858401 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722920416; cv=none; b=QZ6fc4glQ6Ri+GoB7UqFdh5Dk4DKZVt287YCT8oldj+0MRah81XiF9Fy0smbWzmwPx2JSfHkf9svmISBTa0Ff5pAYwNXp8128RSnZA8MumcZMfqa7ronh0nFAYietCNw+TU5VrWTlw5JNLVVi6yHfswncNsXvDT/fqNbbheePPA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722920416; c=relaxed/simple; bh=EzZBbATBabsnF9f78OfQlmH3EThGq4dK9P+2vdgL/oI=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=J+y99ipzzrSx3RttishZoCancuhKoQX3UAlJocQgVdXVE97nHya532Y93N7SyUJc9pxWg4W5Qnvc3fi4ABP6BM0QX4sOitVdT50kfqgSoYYEkz1zQxP+86no6rLuPib+2/ywNMb/PTDSuJMVBAAMAW/k+vUw7szo3GBH3jXUV7g= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Tue, 6 Aug 2024 14:00:11 +0900 To: cygwin AT cygwin DOT com Subject: Re: trouble with sshpass unmaintained Message-Id: <20240806140011.54e065c9768046a1189f4b63@nifty.ne.jp> In-Reply-To: <9JfxIzHPaRxXeQQidpe6FEu7zfWMGrXKE7ALdLSEOgHZ8UgEuUArBLd83PcUIhnzVWcQEvbOg0av_C3d7Lb9lSTurqxGQJGlEc9ah7DSH6Y=@proton.me> References: <9JfxIzHPaRxXeQQidpe6FEu7zfWMGrXKE7ALdLSEOgHZ8UgEuUArBLd83PcUIhnzVWcQEvbOg0av_C3d7Lb9lSTurqxGQJGlEc9ah7DSH6Y=@proton.me> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 AT 127 DOT 0 DOT 0 DOT 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 AT 127 DOT 0 DOT 0 DOT 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 -- 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