delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/14/01:54:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 398F73851C2E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1602654848;
bh=PSk9cUwTP5Dd1zuEiH7EnUflzALDzCnEa7M2CThO7K8=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=HYjLhVVbDVafvH+vq+KBQsKdCQx5Bl/dDRBon3wU1uXE6qba7zpWOvKVU/FyezTzi
QqyApToO793P/glA8xOC33KJTEizzByRnGXDpCBeniCUHmAIN8VtOdlryuIUQryf8f
eeCmt7QmaVD+BRNI9Fu4cS14DI1CD4IdXl0kFPgs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A0CB33857C4C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=NTToHiWA0BRfMgk6vKNDp59Ft2BFddpG34b6QqfxBnc=;
b=qL9Lpf9rFTca7n1rzhCk90d7k8YF8SYFVTubsOGLK9AKnfhgcpoQ9aRsfs0JUajNTw
z+SuOcXWrQ8pxojnsnUtcy90BNWZhrHmVe/mM5UOpSw1uYWQk0Bd4kTLsZbdTdhg4DaY
60Or9rLafTrDAimDwoFHizjNgJiGpWZZQg8pelgxG0n0j6SLzuVo/AOLTj5DdtWFOHdd
KuTsQHl2d+8a6SAD/GHzMIh/e/5Zxo20UlVxgntOuT5i1xpxAMBahMB0yeO/GUFAzpMG
uSXMeuOXGT9zmAYOFcF25axc969AgrYGtYSAo6UCX3SGmu67tlaQRa1uOmAGRhcdmrlv
I+nA==
X-Gm-Message-State: AOAM531JOEyFaWMSOXR/psOKfAc0U9S0muJDZ82M07jUEgqAKED4SvJU
emCJRnjEcDShlJ9/Rrk5yqEQe8ckSpJT1CQIYX19iAurcb71tw==
X-Google-Smtp-Source: ABdhPJwJzvqdUch3Xth/bhGax2M7+NYrLK3gySo7HY54CnNs7NzdW62oVYvrTAEmIz/354GC0fuOWLxRNuy1EH1+wvs=
X-Received: by 2002:ac2:47f5:: with SMTP id b21mr760407lfp.483.1602654844020;
Tue, 13 Oct 2020 22:54:04 -0700 (PDT)
MIME-Version: 1.0
Date: Wed, 14 Oct 2020 11:23:53 +0530
Message-ID: <CADbNrRO2_Mv5MS=b9t7=GDjSy5GmzTf70BEkm5ecE63PyhuHQw@mail.gmail.com>
Subject: ssh to cygwin-box and access remote exe fails saying exe is a
directory
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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: Raj Kumar Sanpui via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Raj Kumar Sanpui <raj DOT kumar DOT sanpui AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi All,

I am trying to access an exe hosted in a shared drive in a remote machine.
(Please note: T*he exe is NOT hosted on the box where cygwin is installed
but a different one*.)


*Case 1: Which fails*
If i ssh to the Windows box where cygwin is installed, and then try to
access the remote exe it *fails saying "exe is a directory"*

[rundeck AT den PKG_INSTALL_SERVICE]$ cat snapshot1.bat | ssh
rsanpui AT cygwin-box

Pseudo-terminal will not be allocated because stdin is not a terminal.
-bash: line 1: //remote-box/owshare/owinstal/Snapshot/SnapShot.exe: *Is a
directory*

What i have inside snapshot1.bat is simple -
[rundeck AT den PKG_INSTALL_SERVICE]$ cat snapshot1.bat
"//remote-box/owshare/owinstal/Snapshot/SnapShot.exe"

*Case 2: Which works*
If i login to the Windows VM where cygwin is installed, and try to access
the same remote exe it works.

What am I missing? Please advise.

Thanks
--
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