public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh to cygwin-box and access remote exe fails saying exe is a directory
@ 2020-10-14  5:53 Raj Kumar Sanpui
  2020-12-05 13:46 ` Raj Kumar Sanpui
  0 siblings, 1 reply; 3+ messages in thread
From: Raj Kumar Sanpui @ 2020-10-14  5:53 UTC (permalink / raw)
  To: cygwin

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@den PKG_INSTALL_SERVICE]$ cat snapshot1.bat | ssh
rsanpui@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@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-05 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14  5:53 ssh to cygwin-box and access remote exe fails saying exe is a directory Raj Kumar Sanpui
2020-12-05 13:46 ` Raj Kumar Sanpui
2020-12-05 15:24   ` Raj Kumar Sanpui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).