[Bug 1265] SCP progress doesn't map to standard out or standard error

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 13 22:24:45 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1265


Vincent Lefevre <vincent at vinc17.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent at vinc17.org




--- Comment #4 from Vincent Lefevre <vincent at vinc17.org>  2007-06-13 22:24:43 ---
I think that the progress meter should be output to the terminal, not
to stdout or stderr, which may be redirected. For instance:

$ ./scp -S $PWD/ssh scp.c localhost:
Enter passphrase for key '/home/vlefevre/.ssh/id_rsa': 
Connected to vin (from 127.0.0.1)
scp.c                         100%   28KB  27.6KB/s   00:00
$

That's OK. But:

$ ./scp -S $PWD/ssh scp.c localhost: < /dev/null >& /dev/null
Enter passphrase for key '/home/vlefevre/.ssh/id_rsa': 
$

I don't get the progress meter either if I use:

$ ./scp -S $PWD/ssh scp.c localhost: | cat

Since ssh knows how to display "Enter passphrase for key..." on the
terminal, there shouldn't be any problem for the progress meter either.


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list