this has worked for you before? i thought ssh typically opened a new tty,
and thus interfered with using pipes right from the start.
-tcl.
On Fri, 23 Feb 2001, Ric Anderson wrote:
> On solaris 7, using ssh.com's ssh2 version 2.4.0, I consistently
> get hangs when doing
> ssh somehost somecommand | something that exits before ssh2
> As a test case, I used
> ssh somehost -n last | true
> which never returns to a command prompt.
>
> It appears ssh2 completely ignores SIGPIPE, proceeds to burn
> cpu cycles after "true" exits.
>
> Has anyone else seen this or is something amiss with my build?
>