delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/03/13:04:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <1614.217.162.71.141.1091552632.squirrel@217.162.71.141>
Date: Tue, 3 Aug 2004 19:03:52 +0200 (CEST)
Subject: Redirect stdout from SSH
From: "David E. Meier" <dev AT eth0 DOT ch>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.3a
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at inetworx.ch
X-IsSubscribed: yes

Hello list,

I am writing a program in C# that calls some cygwin programs and redirects
the standard output and error to a textbox. This works excellent with
calls like "ls -al" or rsync.

However, I cannot read the output generated by SSH. When I issue a command
like "ssh user AT host ls -al" I can observe some network action but the
application stalls, uses 100% CPU and never spits out something. The same
command in the cygwin shell executes with the result expected. Since I use
public key authentication SSH is not waiting for any login information.

Is this a configuration issue of SSH? Thanks for any help. Dave.


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