delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/08/04/00:34:59

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20E993858CDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1722746097;
bh=L+gx6srr0oMlsdVlhjoN4jl4qwSv43RgF2gw9vPeiiM=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=iS8mVLx0sFac7i/y3Y8ZYnzSG+a4FhPybu7qFQjNzLLfg4pWhLUba6EDnxFwZq+aE
FsD41u4BZFK4w9ezLI0SpSRsTcK5Ds1FaERwJWfB1sxqljSAx+dZPJofkDYtiBQk3x
VOcsFwK/6YXiDqomdIEJpyBmAzGw4hrj6EGel1cI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 644C63858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 644C63858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722746075; cv=none;
b=JWKTT/LaRcaQgxE5trISiG5S/phJV3+2s5vnCR9rQBJ64x8+VviITxZMBwn8VicVXh44Vcc13xBUl4z8AGrj+qBfGRHl6wj0Y2ghoFQAyQShtMaif1LAvEWc8SCzcTZeMFqH84qXq0mdVNnMZxqdaVjeoLbmfHLLM5MrClm9CQY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1722746075; c=relaxed/simple;
bh=Bergc29Guyjc/FCm080ua3zocndMbTMJNWGvqPSsojE=;
h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version;
b=npOw2Ay2+RLjcmmGFCXOH704rroPjh+nlG5/YCGC4MDk0JNX0KL2asl+dSHdeEiiwURKXiGM9vcNVMYzWGXCBWGGktoPY+0gdz48lsnXiV/PMOoMLoCFdB6ZKg4fJ3h3K/KhZaJdIUFM+RSOp9Jaw+bWWebvjE4W61QyxvFddPE=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Sun, 04 Aug 2024 04:34:24 +0000
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: trouble with sshpass unmaintained
Message-ID: <9JfxIzHPaRxXeQQidpe6FEu7zfWMGrXKE7ALdLSEOgHZ8UgEuUArBLd83PcUIhnzVWcQEvbOg0av_C3d7Lb9lSTurqxGQJGlEc9ah7DSH6Y=@proton.me>
Feedback-ID: 65268012:user:proton
X-Pm-Message-ID: f1d06e0b04f6189d8575c14e829d4c638bde3faf
MIME-Version: 1.0
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jim McNamara via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jim McNamara <jmcnamara10001 AT proton DOT me>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

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 AT 127 DOT 0 DOT 0 DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019