mirror of
https://github.com/clearml/dropbear
synced 2025-03-03 10:41:39 +00:00
- Remove options that dbclient won't know about
--HG-- extra : convert_revision : 2d401308f73352e92d3c662d33920b24fc12bfa1
This commit is contained in:
parent
48734bb3b5
commit
c35e38c5e9
6
scp.c
6
scp.c
@ -343,7 +343,7 @@ main(int argc, char **argv)
|
||||
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 @@ toremote(char *targ, int argc, char **argv)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user