X-Spam-Check-By: sourceware.org Date: Thu, 31 May 2007 16:03:59 -0400 From: Christopher Faylor 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/