changeset 453:29953de278ae

Stop scp passing arguments that dbclient doesn't understand
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Jul 2007 08:59:24 +0000
parents 4cab61369879
children 7e43f5e473b9
files scp.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scp.c	Fri Jul 27 17:13:42 2007 +0000
+++ b/scp.c	Sat Jul 28 08:59:24 2007 +0000
@@ -308,10 +308,6 @@
 	memset(&args, '\0', sizeof(args));
 	args.list = NULL;
 	addargs(&args, "%s", ssh_program);
-	addargs(&args, "-x");
-	addargs(&args, "-oForwardAgent no");
-	addargs(&args, "-oPermitLocalCommand no");
-	addargs(&args, "-oClearAllForwardings yes");
 
 	fflag = tflag = 0;
 	while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1)