diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.68 2005/10/31 06:15:04 dtucker Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.69 2005/12/06 22:38:27 reyk Exp $"); |
20 | 20 | ||
21 | #ifdef USE_LIBEDIT | 21 | #ifdef USE_LIBEDIT |
22 | #include <histedit.h> | 22 | #include <histedit.h> |
@@ -1457,6 +1457,7 @@ main(int argc, char **argv) | |||
1457 | addargs(&args, "ssh"); /* overwritten with ssh_program */ | 1457 | addargs(&args, "ssh"); /* overwritten with ssh_program */ |
1458 | addargs(&args, "-oForwardX11 no"); | 1458 | addargs(&args, "-oForwardX11 no"); |
1459 | addargs(&args, "-oForwardAgent no"); | 1459 | addargs(&args, "-oForwardAgent no"); |
1460 | addargs(&args, "-oPermitLocalCommand no"); | ||
1460 | addargs(&args, "-oClearAllForwardings yes"); | 1461 | addargs(&args, "-oClearAllForwardings yes"); |
1461 | 1462 | ||
1462 | ll = SYSLOG_LEVEL_INFO; | 1463 | ll = SYSLOG_LEVEL_INFO; |