summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-09-12 18:45:09 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-09-12 18:45:09 +0000
commit4213c559ef3d44670c8580cc552d23dce7528bda (patch)
treed71fee431a09c9c1e57938d2a1be5c72bf465a9f /scp.c
parent594e20389490bf91724dc903cb9aaa92d037b7a4 (diff)
- stevesk@cvs.openbsd.org 2001/09/12 18:18:25
[scp.c] don't forward agent for non third-party copies; ok markus@
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 9b0a23f0..65449684 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.81 2001/08/29 20:44:03 markus Exp $");
+RCSID("$OpenBSD: scp.c,v 1.82 2001/09/12 18:18:25 stevesk Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -237,6 +237,7 @@ main(argc, argv)
args.list = NULL;
addargs(&args, "ssh"); /* overwritten with ssh_program */
addargs(&args, "-x");
+ addargs(&args, "-oForwardAgent no");
addargs(&args, "-oFallBackToRsh no");
fflag = tflag = 0;