search for: q1246s

Displaying 10 results from an estimated 10 matches for "q1246s".

2010 Nov 19
3
File Offsets for SCP (patch)
...+ fd_offset = 0; + /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ sanitise_stdfd(); @@ -344,7 +348,7 @@ main(int argc, char **argv) addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:A:Z:")) != -1) switch (ch) { /* User-visible flags. */ case '1': @@ -407,6 +411,16 @@ main(int argc, char **argv) setmode(0, O_BINARY); #endif break; + case 'A': +...
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...dargs(&args, "ssh"); /* overwritten with ssh_program */ addargs(&args, "-x"); @@ -225,7 +229,7 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:e:")) != -1) switch (ch) { /* User-visible flags. */ case '1': @@ -255,9 +259,14 @@ break; case 'p...
2006 May 14
1
scp patch to delete source files after copy
...the program to execute for the secured connection. ("ssh" or -S) */ char *ssh_program = _PATH_SSH_PROGRAM; *************** *** 278,284 **** addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ case '1': --- 281,287 ---- addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfl:prtuvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) {...
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
...t.h" #ifdef HAVE___PROGNAME extern char *__progname; @@ -242,9 +243,15 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + addargs(&args, "-oProtocol=1"); + break; + case '2': + addargs(&args, "-oProtocol=2"); + break; case '4': case '6': case 'C': @@ -96...
2001 Jul 22
1
[patch] add -1 and -2 options to scp
Hi, Several people have asked that scp support the -1 and -2 options, so I wrote this patch. Cheers, Matthew -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: scp.diff Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010722/7e096fab/attachment.ksh -------------- next part -------------- -- "At least you know
2001 Sep 08
1
force SSH1 and SSH2
...--- --- ./scp.c.org Sat Sep 8 23:37:22 2001 +++ ./scp.c Sun Sep 9 00:07:36 2001 @@ -244,9 +244,11 @@ addargs("-oFallBackToRsh no"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + case '2': case '4': case '6': case 'C': @@ -958,7 +960,7 @@ usage() { (void) fprintf(stderr, "usage: scp " - "[-pqrvBC46] [-S ssh] [-P port] [-c ci...
2001 Sep 27
0
[PATCH] scp fixes
...rig Thu Sep 27 21:32:32 2001 +++ scp.c Thu Sep 27 21:41:06 2001 @@ -242,9 +242,11 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + case '2': case '4': case '6': case 'C': @@ -505,6 +507,12 @@ name[--len] = '\0'; if ((fd = open(name, O_RDONLY, 0)) < 0) goto...
2002 Jul 13
0
[PATCH]: scp program improved
.../* For rate limit */ + const char factors[] = "kMMGGG"; + char *c; + __progname = get_progname(argv[0]); args.list = NULL; @@ -233,7 +259,7 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "adfprtvBCc:i:P:q1246S:o:F:R:")) != -1) switch (ch) { /* User-visible flags. */ case '1': @@ -249,6 +275,18 @@ case 'F': addargs(&args, "-%c%s", ch, optarg); break; + case 'a':...
2001 Feb 06
4
argv[0] => host feature considered harmful
OpenSSH still has this feature, SSH-1.2.27 no longer has it. Admittedly it can be useful sometimes, even though I'd prefer this to be done using a trivial shell wrapper, which would be the UNIX way of doing things. Not being able to call OpenSSH's ssh by another name (say ``ssh1'') can get in the way when having to maintain two versions of ssh in parallel because the ``ssh ->
2003 Oct 08
4
OS/390 openssh
...ory; +#ifdef CHARSET_EBCDIC +int binary=0; +#endif #define CMDNEEDS 64 char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ @@ -231,7 +234,11 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:" +#ifdef CHARSET_EBCDIC + "b" /* binary */ +#endif + )) != -1) switch (...