Mercurial > dropbear
changeset 571:281ed8384eb4
- Remove options that dbclient won't know about
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 02 Sep 2009 15:17:14 +0000 |
parents | fb9a341e4454 |
children | 8fd0ac8c8cab |
files | scp.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scp.c Wed Sep 02 15:05:14 2009 +0000 +++ b/scp.c Wed Sep 02 15:17:14 2009 +0000 @@ -343,7 +343,7 @@ addargs(&args, "-p%s", optarg); break; case 'B': - addargs(&args, "-oBatchmode yes"); + fprintf(stderr, "Note: -B option is disabled in this version of scp"); break; case 'l': speed = strtod(optarg, &endp); @@ -492,9 +492,13 @@ addargs(&alist, "%s", ssh_program); if (verbose_mode) addargs(&alist, "-v"); +#if 0 + // Disabled since dbclient won't understand them + // and scp works fine without them. addargs(&alist, "-x"); addargs(&alist, "-oClearAllForwardings yes"); addargs(&alist, "-n"); +#endif *src++ = 0; if (*src == 0)