X-Spam-Check-By: sourceware.org
Message-ID: <10904518.post@talk.nabble.com>
Date: Thu, 31 May 2007 17:23:13 -0700 (PDT)
From: KenLee <Kenny_Lee@owfg.com>
To: cygwin@cygwin.com
Subject: Re: ssh session hangs while running cmd on remote server
In-Reply-To: <465F581F.3000000@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: Kenny_Lee@owfg.com
References: <10900723.post@talk.nabble.com> <465F2B22.5000502@cygwin.com> <20070531201428.GB21273@ednor.casa.cgf.cx> <465F2F94.503@cygwin.com> <20070531203100.GB21388@ednor.casa.cgf.cx> <10903320.post@talk.nabble.com> <465F581F.3000000@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Yes the rsh client is present on the Windows side.  But I don't have a rsh
daemon running as a service.  Now I have to go hunt down the instructions to
get that up and running.......  

Larry Hall (Cygwin) wrote:
> 
> 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/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ssh-session-hangs-while-running-cmd-on-remote-server-tf3848518.html#a10904518
Sent from the Cygwin Users mailing list archive at Nabble.com.


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

