Displaying 20 results from an estimated 20 matches for "dfprtvbcc".
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
...hnames.h"
#include "log.h"
#include "misc.h"
+#include "compat.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=...
2000 Apr 27
0
Patch for supporting "-L" option in scp
...use_non_privileged_port)
+ args[i++] = "-P";
args[i++] = host;
args[i++] = cmd;
args[i++] = NULL;
@@ -247,7 +253,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:qL46")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
@@ -295,6 +301,9 @@
case 'q':
showprogre...
2000 Sep 01
0
scp -S patch fix
The scp -S patch didn't seem to go in cleanly; here are some fixes
against the 0830 snapshot:
--- scp.c~ Wed Aug 30 01:11:30 2000
+++ scp.c Fri Sep 1 12:54:14 2000
@@ -262,7 +262,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
--- scp.1~ Wed Aug 23 02:46:24 2000
+++ scp.1 Fri Sep 1 13:46:33 2000
@@ -20,6 +20,7 @@
.Sh SYNOPSIS
.Nm scp
.Op Fl pqrvC46
+.O...
2000 Sep 02
1
[2.2.0p1] patch to get "scp -S prog" to work right + man page fix
Hi.
This functionality was just added in 2.2.0p1. The patch is self-explanatory.
Charles
--- scp.c.orig-2.2.0p1 Tue Aug 29 19:11:30 2000
+++ scp.c Sat Sep 2 15:14:58 2000
@@ -262,7 +262,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
--- scp.1.orig-2.2.0p1 Tue Aug 22 20:46:24 2000
+++ scp.1 Sat Sep 2 15:18:00 2000
@@ -20,6 +20,7 @@
.Sh SYNOPSIS
.Nm scp
.Op Fl...
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
...--------------------------
R.I.P. - rest in pieces ...
-------------- next part --------------
--- ./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) f...
2001 Sep 27
0
[PATCH] scp fixes
...ith \n in the filename,
since these break the rcp/scp protocol.
Cheers,
Matthew
--- scp.c.orig 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,...
2002 Sep 10
1
[PATCH] Let scp accept options -1 and -2
...CS file: /cvs/openssh/scp.c,v
retrieving revision 1.97
diff -u -r1.97 scp.c
--- scp.c 21 Jun 2002 00:41:52 -0000 1.97
+++ scp.c 10 Sep 2002 17:37:49 -0000
@@ -233,9 +241,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:q46S:o:F:12")) != -1)
switch (ch) {
/* User-visible flags. */
+ case '1':
+ case '2':
case '4':
case '6':
case 'C':
2000 Jul 07
0
Patch to add scp -L option
...batchmode)
args[i++] = "-oBatchMode yes";
+ if (nonprivilaged_port)
+ args[i++] = "-P";
if (cipher != NULL) {
args[i++] = "-c";
args[i++] = cipher;
@@ -252,7 +262,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46L")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
@@ -300,6 +310,9 @@
case 'q':
showprogress = 0;
break;
+ case 'L':
+ nonprivilaged_port = 1;
+ break;...
2000 Aug 12
0
[PATCH] scp -S support
...LL;
- execvp(SSH_PROGRAM, args);
- perror(SSH_PROGRAM);
+ execvp(ssh_program, args);
+ perror(ssh_program);
exit(1);
}
/* Parent. Close the other side, and return the local side. */
@@ -247,7 +250,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
@@ -265,6 +268,9 @@
case 'r':
iamrecursive = 1;
break;
+ case 'S':
+ ssh_program = optarg;
+ break;...
2000 Dec 18
2
scp remote path specification
...!= NULL) {
+ pathsep++;
+ *pathsep = 0;
+ ssh_program = xmalloc(strlen(argv[0]) + 4); /* "../path" + "ssh\0" */
+ strcpy(ssh_program, argv[0]);
+ strcat(ssh_program, "ssh");
+ }
+ }
fflag = tflag = 0;
while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != EOF)
2000 Jul 20
3
scp over 2 hosts
Hi folks,
I have the that I must copy some through a Plag-Gateway of a Firewall over 2 host. A secure connection via "ssh - t hosta ssh -t hostb" works fine, but does this work with scp too? Icould not realize it either with scp (1.2.27 of ssh.com) or scp from openssh. Do you have any ideas?
Thanks
Stephan
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 ->
1999 Dec 27
0
1.2pre17: -C option to scp
...@@ -167,6 +171,8 @@
args[i++] = "-l";
args[i++] = remuser;
}
+ if (nolowports)
+ args[i++] = "-P";
args[i++] = host;
args[i++] = cmd;
args[i++] = NULL;
@@ -242,7 +248,7 @@
extern int optind;
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q")) != EOF)
+ while ((ch = getopt(argc, argv, "dfprtvLBCc:i:P:q")) != EOF)
switch (ch) {
/* User-visible flags. */
case 'p':
@@ -253,6 +259,9 @@
break;
case 'r':
iamrecursive = 1;
+ break;
+ case 'L':
+ nolowports = 1;
break;...
2001 May 12
4
Erase the source file open; specify a tempfile name option
...e CMDNEEDS 64
-char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */
+char *cmd;
+int cmdlen;
int response(void);
void rsource(char *, struct stat *);
@@ -236,7 +239,7 @@
addargs(&args, "-oFallBackToRsh no");
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != -1)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:ET:")) != -1)
switch (ch) {
/* User-visible flags. */
case '4':
@@ -270,6 +273,12 @@
case 'q':
showprogress = 0;
break;
+ case 'E':
+ eraseflag = 1;
+ break;...
2000 Oct 11
2
scp -L option
...= "-x";
args[i++] = "-oFallBackToRsh no";
+ if (highport)
+ args[i++] = "-P";
if (IPv4)
args[i++] = "-4";
if (IPv6)
***************
*** 262,268 ****
extern int optind;
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
--- 267,273 ----
extern int optind;
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "LdfprtvBCc:i:P:q46S")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4...
2000 Aug 18
0
[PATCH] Support symlinks in scp of openssh 2
...lag, iamremote, iamrecursive, targetshouldbedirectory;
+int linkflag, pflag, iamremote, iamrecursive, targetshouldbedirectory;
#define CMDNEEDS 64
@@ -280,5 +280,5 @@ main(argc, argv)
memset(sshoptions,0,sizeof(sshoptions));
sshoptionsend = sshoptions;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:o:S:q46")) != EOF)
+ while ((ch = getopt(argc, argv, "adfLprtvBCc:i:P:o:S:q46")) != EOF)
switch (ch) {
/* User-visible flags. */
@@ -289,4 +289,12 @@ main(argc, argv)
IPv6 = 1;
break;
+ case 'a':
+ linkflag = 1;
+ pflag = 1;
+ iamrecursive = 1;
+ br...
2001 Oct 16
6
program-prefix does not work
...H_SSH_PROGRAM;
+ char *scp_program = _PATH_SCP_PROGRAM;
/*
* This function executes the given command as the specified user on the
***************
*** 242,248 ****
addargs(&args, "-oClearAllForwardings yes");
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1)
switch (ch) {
/* User-visible flags. */
case '4':
--- 243,249 ----
addargs(&args, "-oClearAllForwardings yes");
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46Ss:o:F:")) != -1)
switch...
2002 Jul 13
0
[PATCH]: scp program improved
...int factor, i; /* 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 &...
2000 Aug 24
0
patch for a few things
...l==1)
+ args[i++] = "-oProtocol 1";
+ else if (protocol==2)
+ args[i++] = "-oProtocol 2";
if (IPv4)
args[i++] = "-4";
if (IPv6)
***************
*** 262,270 ****
extern int optind;
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF)
switch (ch) {
/* User-visible flags. */
case '4':
IPv4 = 1;
break;
--- 276,302 ----
extern int optind;
fflag = tflag = 0;
! while ((ch = getopt(argc, argv, "bdfprtvBCc:i:P:qQS4612")) != EOF)
switch (ch) {
+ /* Server o...