BUG: scp -q isn't quiet

Darren Tucker dtucker at zip.com.au
Mon Nov 10 22:09:30 EST 2003


"Mordechai T. Abzug" wrote:
> 
> If I scp from/to a server that has a banner using scp -q, it still
> shows the banner.  If I ssh -q to the same server, the banner is
> skipped.  scp -o "LogLevel quiet" does the trick, but is excessively
> cumbersome.

Maybe scp should pass "-q" through to ssh like so? 

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
Index: scp.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/scp.c,v
retrieving revision 1.110
diff -u -p -r1.110 scp.c
--- scp.c	8 Oct 2003 08:27:36 -0000	1.110
+++ scp.c	10 Nov 2003 11:09:30 -0000
@@ -268,6 +268,7 @@ main(int argc, char **argv)
 			break;
 		case 'q':
 			showprogress = 0;
+			addargs(&args, "-q");
 			break;
 
 		/* Server options. */


More information about the openssh-unix-dev mailing list