tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))
Christian Teufel <christian.teufel@zdv.uni-tuebingen.de> 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