delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/31/19:20:35

X-Spam-Check-By: sourceware.org
Message-ID: <465F581F.3000000@cygwin.com>
Date: Thu, 31 May 2007 19:19:59 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070308 Fedora/1.5.0.10-2.fc4.remi Thunderbird/1.5.0.10 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh session hangs while running cmd on remote server
References: <10900723 DOT post AT talk DOT nabble DOT com> <465F2B22 DOT 5000502 AT cygwin DOT com> <20070531201428 DOT GB21273 AT ednor DOT casa DOT cgf DOT cx> <465F2F94 DOT 503 AT cygwin DOT com> <20070531203100 DOT GB21388 AT ednor DOT casa DOT cgf DOT cx> <10903320 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <10903320.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

KenLee wrote:
> I have tried ssh using both interactive and command line mode, and I get the
> same results.  That is - sorry for being pedantic about this - I had invoked
> ssh first with the command line option, and it worked.  I invoked ssh again
> with the command line again, but it hung this time.  Then I just invoked ssh
> on its own, and entered the commands one at a time, and it hung again.  
> 
> Then I ran cygwin directly on the remote server (thinking that it's the VB
> script causing the problem), so I entered cmd /c update.kcu (without any
> ssh) and it worked just fine.  
> 
> I checked the CYGWIN setting and it is set to CYGWIN=ntsec tty
> 

As Chris mentioned, the 'tty' setting would only have an effect when you
went to the remote server and ran the command there.  Since you saw no
problem doing that, that indicates ptys aren't an issue here.  Is the
Windows 'rsh' command available on the server?  If so, you could use it
to determine if the VB script does something that just isn't reliable
remotely.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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