delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/31/16:04:29

X-Spam-Check-By: sourceware.org
Date: Thu, 31 May 2007 16:03:59 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh session hangs while running cmd on remote server
Message-ID: <20070531200358.GA21273@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <10900723 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <10900723.post@talk.nabble.com>
User-Agent: Mutt/1.5.14 (2007-02-12)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, May 31, 2007 at 12:46:29PM -0700, KenLee wrote:
>I'm a Linux newbie, so please excuse my dumb questions. 
>
>Installed cygwin successfully on a box running Win2003 server.  When I ssh
>to it to run a VB script file (.kcu extension) as "cmd /c update.kcu", my
>client session just hangs until I press Ctrl-C.  Meanwhile on the remote
>server, nothing happens.  
>
>However, if I run cygwin directly on the box and enter the exact same
>command, the script file runs no problem.  
>
>Any help would be most appreciated.  

The question to ask yourself, being a linux newbie is how you would run
a VB script under "cmd /c" on linux.

Give up?

You wouldn't do anything like that under linux because neither VB scripts
nor cmd exist.

So, whatever problem you may be having is probably due to the fact that
cmd and/or VB are not interacting well with the Cygwin ssh environment.
Most likely it doesn't know what to do with Cygwin ptys (another linux
construct).

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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