From 3a222388f9def8d599caa0ad6f2cffbd4db0340e Mon Sep 17 00:00:00 2001 From: mouring Date: Wed, 12 Sep 2001 18:45:09 +0000 Subject: [PATCH] - stevesk@cvs.openbsd.org 2001/09/12 18:18:25 [scp.c] don't forward agent for non third-party copies; ok markus@ --- ChangeLog | 3 +++ scp.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b04d2c2..636baa0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -83,6 +83,9 @@ - deraadt@cvs.openbsd.org 2001/09/05 06:23:07 [scp.1 sftp.1 ssh.1 ssh-agent.1 sshd.8 ssh-keygen.1 ssh-keyscan.1] avoid first person in manual pages + - stevesk@cvs.openbsd.org 2001/09/12 18:18:25 + [scp.c] + don't forward agent for non third-party copies; ok markus@ 20010815 - (bal) Fixed stray code in readconf.c that went in by mistake. 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; -- 2.45.1