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

Bug#257524: ssh: scp progress meter disabled when stderr is redirected



On 2007-06-12 16:32:53 +0100, Colin Watson wrote:
> Thanks for your report. This is upstream bug
> http://bugzilla.mindrot.org/show_bug.cgi?id=1265, fixed in OpenSSH 4.6.

I've added a comment there. IMHO, the problem is not fixed since
the progress meter doesn't appear if stdout is redirected. But a
workaround can be to redirect stdout to /dev/tty in the scp call:

#!/bin/sh
exec > some_file
...
scp ... > /dev/tty

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Reply to: