Displaying 3 results from an estimated 3 matches for "sftp_direct".
Did you mean:
set_direct
2005 Feb 17
1
SFTP batch mode patch
...1-orig\sftp.c Sat Jul 17 02:12:08 2004
+++ openssh-3.9p1\sftp.c Thu Oct 14 11:39:40 2004
@@ -1420,6 +1420,7 @@
fatal("%s (%s).", strerror(errno), optarg);
showprogress = 0;
batchmode = 1;
+ addargs(&args, "-obatchmode yes");
break;
case 'P':
sftp_direct = optarg;
diff -ur openssh-3.9p1-orig\sshconnect.c openssh-3.9p1\sshconnect.c
--- openssh-3.9p1-orig\sshconnect.c Mon Jun 21 22:56:02 2004
+++ openssh-3.9p1\sshconnect.c Thu Oct 14 09:02:32 2004
@@ -537,8 +537,11 @@
char *p;
int ret = -1;
- if (options.batch_mode)
+ if (options.batch_mode) {...
2003 Sep 10
3
[PATCH] No extern declarations of optarg & co if getopt.h is available
...=========================================
RCS file: /cvs/openssh_cvs/sftp.c,v
retrieving revision 1.38
diff -p -u -r1.38 sftp.c
--- sftp.c 21 Aug 2003 23:34:41 -0000 1.38
+++ sftp.c 10 Sep 2003 18:59:00 -0000
@@ -129,8 +129,10 @@ main(int argc, char **argv)
char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL;
LogLevel ll = SYSLOG_LEVEL_INFO;
arglist args;
+#ifndef HAVE_GETOPT_H
extern int optind;
extern char *optarg;
+#endif
__progname = ssh_get_progname(argv[0]);
args.list = NULL;
Index: ssh-add.c
===================================================================
RCS file: /cvs/o...
2002 Dec 18
2
patch for openssh3.5p1 - adds logging option
...sftp.c openssh-3.5p1/sftp.c
--- openssh-3.5p1-orig/sftp.c 2002-12-18 10:10:13.000000000 -0500
+++ openssh-3.5p1/sftp.c 2002-12-18 10:43:04.000000000 -0500
@@ -183,7 +183,7 @@
}
}
- log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);
+ log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1, NULL);
if (sftp_direct == NULL) {
if (optind == argc || argc > (optind + 2))
diff -urN openssh-3.5p1-orig/ssh-agent.c openssh-3.5p1/ssh-agent.c
--- openssh-3.5p1-orig/ssh-agent.c 2002-12-18 10:10:13.000000000 -0500
+++ openssh-3.5p1/ssh-agent.c 2002-12-18 10:43:17.000000000 -0500
@@ -1074,7 +1074,7 @@
* the sock...