bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: redirect to STDERR problem


From: Sven Mascheck
Subject: Re: redirect to STDERR problem
Date: 15 Jul 2001 11:52:28 +0200
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))

Christian Teufel <address@hidden> wrote:

> I wanted to redirect scp errors (file not found, etc.) to STDERR via the
> 2> command.  Everything worked fine on my system (SuSE Linux 6.3, [...]
> Then I executed my small proggie on an other system (SuSE Linux 6.1, [...]
> and oooops, the password prompt was redirected to STDERR.

I guess one scp (aka ssh) writes the password prompt to /dev/tty but the
other to STDERR, depending on ssh flavour (and version?).

Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]