Displaying 20 results from an estimated 39 matches for "ssh_program".
Did you mean:
dssh_program
2000 Aug 12
0
[PATCH] scp -S support
.../scp.c Fri May 5 09:43:24 2000
+++ openssh-1.2.3.scp/scp.c Fri May 5 09:39:09 2000
@@ -103,6 +103,9 @@
/* This is the port to use in contacting the remote site (is non-NULL). */
char *port = NULL;
+/* This is the program to execute for the secured connection. ("ssh" or -S) */
+char *ssh_program = SSH_PROGRAM;
+
/*
* This function executes the given command as the specified user on the
* given host. This returns < 0 if execution fails, and >= 0 otherwise. This
@@ -148,7 +151,7 @@
close(pout[1]);
i = 0;
- args[i++] = SSH_PROGRAM;
+ args[i++] = ssh_program;
args[i++]...
2000 Dec 18
2
scp remote path specification
...penssh/scp.c~ Sat Oct 28 05:19:58 2000
+++ openssh/scp.c Tue Nov 7 17:59:37 2000
@@ -245,7 +245,7 @@
char *argv[];
{
int ch, fflag, tflag;
- char *targ;
+ char *targ, *pathsep;
extern char *optarg;
extern int optind;
@@ -253,6 +253,19 @@
addargs("ssh"); /* overwritten with ssh_program */
addargs("-x");
addargs("-oFallBackToRsh no");
+
+ /* check explicit path for ssh binary, default is SSH_PROGRAM */
+ if ((argc > 0) &&
+ (argv[0] != NULL)) {
+ pathsep = strrchr(argv[0], '/');
+ if (pathsep != NULL) {
+ pathsep++;
+ *pat...
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...ry in which the files reside. The
* directory should be world-readable (though not all files are).
--- scp.c Thu Aug 12 05:44:32 2004
+++ scp.c Wed Sep 1 00:48:51 2004
@@ -102,6 +102,9 @@
/* This is the program to execute for the secured connection. ("ssh" or
-S) */
char *ssh_program = _PATH_SSH_PROGRAM;
+/* This is the program to execute for the remote scp. ("scp" or -e) */
+char *scp_remote_program = _PATH_SCP_REMOTE_PROGRAM;
+
/* This is used to store the pid of ssh_program */
pid_t do_cmd_pid = -1;
@@ -198,8 +201,8 @@
int errs, remin, remout;
int pflag, iamr...
2002 Jul 05
0
Need configure parameter for SSH_PROGRAM
I am impressed by all the paths that Configure lets me set for Openssh.
I don't think I've ever seen an Autoconf package give me so much
flexibility. But I found one missing.
Makefile.in has SSH_PROGRAM hardcoded as @BINDIR@/ssh. It would be nice
if I could specify the whole value as a Configure parameter. Being able
to override it with an environment variable would be even nicer. I don't
like to build paths into binaries -- it makes them less portable.
In fact, in my make file, I set SSH_...
2000 Oct 11
2
scp -L option
...2.2.0p1
to please integrate.
Thanx
Hendrik Visage
-------------- next part --------------
*** 1.1 2000/10/11 13:31:45
--- scp.c 2000/10/11 14:26:25
***************
*** 117,122 ****
--- 117,125 ----
/* This is the program to execute for the secured connection. ("ssh" or -S) */
char *ssh_program = SSH_PROGRAM;
+ /* Using an anonymous port ? */
+ int highport=0;
+
/*
* This function executes the given command as the specified user on the
* given host. This returns < 0 if execution fails, and >= 0 otherwise. This
***************
*** 165,170 ****
--- 168,175 ----
args[i...
2001 May 19
0
More scp changes
...< 0 if execution fails, and >= 0 otherwise. This
* assigns the input and output file descriptors on success.
*/
@@ -143,10 +144,14 @@
{
int pin[2], pout[2], reserved[2];
- if (verbose_mode)
- fprintf(stderr, "Executing: program %s host %s, user %s, command %s\n",
- ssh_program, host, remuser ? remuser : "(unspecified)", cmd);
-
+ if (verbose_mode) {
+ if (host) {
+ fprintf(stderr, "Executing: program %s host %s, user %s, command %s\n",
+ ssh_program, host, remuser ? remuser : "(unspecified)", cmd);
+ }
+ else
+ fprintf(stderr, &...
2000 Aug 27
1
Login Patch
...C_SUBST(PERL)
AC_PATH_PROG(ENT, ent)
AC_SUBST(ENT)
+AC_PATH_PROG(LOGIN_PROGRAM, login)
+AC_SUBST(LOGIN_PROGRAM)
if test -z "$LD" ; then
LD=$CC
--- openssh-2.1.1p4/Makefile.in.orig Thu Aug 17 11:25:31 2000
+++ openssh-2.1.1p4/Makefile.in Thu Aug 17 11:24:06 2000
@@ -17,10 +17,11 @@
SSH_PROGRAM=@bindir@/ssh
ASKPASS_LOCATION=@libexecdir@/ssh
ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass
+LOGIN_PROGRAM=@LOGIN_PROGRAM@
CC=@CC@
LD=@LD@
-PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
+PATHS=-D...
2001 Oct 16
6
program-prefix does not work
....9.9p2.orig/Makefile.in openssh-2.9.9p2/Makefile.in
*** openssh-2.9.9p2.orig/Makefile.in Mon Sep 17 22:06:22 2001
--- openssh-2.9.9p2/Makefile.in Tue Oct 16 15:29:27 2001
***************
*** 12,29 ****
piddir=@piddir@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
DESTDIR=
VPATH=@srcdir@
! SSH_PROGRAM=@bindir@/ssh
! ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
! SFTP_SERVER=$(libexecdir)/sftp-server
PATHS= -DETCDIR=\"$(sysconfdir)\" \
-D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
-D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
-D_PATH_SFTP_SERVER=\"...
2000 Dec 12
1
scp and filenames with weird characters
...uktende gjenstander - enten
dette er mat eller andre ting. [Voll studentby]
-------------- next part --------------
--- scp.c Tue Dec 12 17:36:30 2000
+++ /home/stain/scp.c Tue Dec 12 17:36:17 2000
@@ -387,7 +387,7 @@
host = strchr(argv[i], '@');
len = strlen(ssh_program) + strlen(argv[i]) +
strlen(src) + (tuser ? strlen(tuser) : 0) +
- strlen(thost) + strlen(targ) + CMDNEEDS + 32;
+ strlen(thost) + strlen(targ) + CMDNEEDS + 40;
bp = xmalloc(len);
if (host) {
*host++ = 0;
@@ -398,7 +398,7 @@
else if (!okname(suser))
conti...
1999 Nov 19
0
Request for change in ssh-askpass location after pre12
...the latter spot.
In the patch below, I've fixed this, as well as made ASKPASS_PROGRAM
used during the install so that it's easier to maintain.
Thanks,
David
--- Makefile.in.orig Thu Nov 18 20:02:51 1999
+++ Makefile.in Thu Nov 18 20:04:42 1999
@@ -7,7 +7,7 @@
sysconfdir=@sysconfdir@
SSH_PROGRAM=@bindir@/ssh
-ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass
+ASKPASS_PROGRAM=@libexecdir@/ssh/ssh-askpass
CC=@CC@
PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\"
@@ -81,12 +81,11 @@
ln -sf ssh.1 $(mandir)/man1...
2000 Dec 07
1
[PATCH] Separate CFLAGS and CPPFLAGS
...n/Services/OpenSSH/openssh/Makefile.in,v
retrieving revision 1.1.1.4
retrieving revision 1.8
diff -u -d -b -w -r1.1.1.4 -r1.8
--- Makefile.in 2000/12/06 21:56:06 1.1.1.4
+++ Makefile.in 2000/12/06 22:11:15 1.8
@@ -20,7 +20,8 @@
CC=@CC@
LD=@LD@
PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
-CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
+CFLAGS=@CFLAGS@
+CPPFLAGS=@CPPFLAGS@ $(PATHS) @DEFS@ -I. -I$(srcdir)
LIBS=@LIBS@
AR=@AR@
RANLIB=@RANLIB@
Wilfredo S?nchez, wsanchez at apple.com
Open Source Engineering Lead
App...
2002 Mar 12
0
OpenSSH 3.1: ssh-rand-helper
...ly SSH_RAND_HELPER and defined with a fixed path
in Makefile.in and not having a default in pathnames.h.
I propose a handling analogous to the sftp-server binary.
*** Makefile.in.orig Tue Feb 26 20:24:22 2002
--- Makefile.in Tue Mar 12 12:42:05 2002
***************
*** 18,23 ****
--- 18,24 ----
SSH_PROGRAM=@bindir@/ssh
ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
SFTP_SERVER=$(libexecdir)/sftp-server
+ SSH_RAND_HELPER=$(libexecdir)/ssh-rand-helper
PATHS= -DSSHDIR=\"$(sysconfdir)\" \
-D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
***************
*** 24,30 ****
-D_PATH_SSH_ASK...
2000 Jul 07
0
Patch to add scp -L option
...6 +419,18 @@
else if (!okname(suser))
continue;
(void) sprintf(bp,
- "%s%s -x -o'FallBackToRsh no' -n -l %s %s %s %s '%s%s%s:%s'",
+ "%s%s%s -x -o'FallBackToRsh no' -n -l %s %s %s %s '%s%s%s:%s'",
SSH_PROGRAM, verbose_mode ? " -v" : "",
+ nonprivilaged_port ? " -P" : "",
suser, host, cmd, src,
tuser ? tuser : "", tuser ? "@" : "",
thost, targ);
} else {
host = cleanhostname(ar...
2006 May 14
1
scp patch to delete source files after copy
...*******
*** 99,104 ****
--- 99,107 ----
/* This is set to zero if the progressmeter is not desired. */
int showprogress = 1;
+ /* Delete the source after copying. */
+ int delete_source = 0;
+
/* This is 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':
-...
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 12
3
add scp path to _PATH_STDPATH
...value completely.
Index: Makefile.in
===================================================================
RCS file: /var/cvs/openssh/Makefile.in,v
retrieving revision 1.150
diff -u -r1.150 Makefile.in
--- Makefile.in 2001/02/09 13:40:03 1.150
+++ Makefile.in 2001/02/12 14:47:51
@@ -17,11 +17,13 @@
SSH_PROGRAM=@bindir@/ssh
ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
SFTP_SERVER=$(libexecdir)/sftp-server
+PATH_SCP=$(bindir)
PATHS= -DETCDIR=\"$(sysconfdir)\" \
-D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
-D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
- -D_PATH_SFTP_SER...
2000 May 23
1
further problems Re: scp not found with solaris 8/2.1.0p2
Thanks to Richard June, John Horne and Bosko Radivojevic, who
pointed out that I probably need to set the configure-time option
--with-default-path, so I did this (rather than make symlink
messes, which I'd prefer to avoid) :
1489 ./configure --with-default-path=/bin:/usr/bin:/opt/local/bin --prefix=/opt/local --with-random=/dev/random
1490 make
1491 make install
1492 pkill -TERM
2009 Nov 14
1
Alternate Install Location Patch Proposal
...-uraN openssh-5.3p1.orig/Makefile.in openssh-5.3p1/Makefile.in
--- openssh-5.3p1.orig/Makefile.in 2009-08-27 19:47:38.000000000 -0500
+++ openssh-5.3p1/Makefile.in 2009-11-14 08:02:29.000000000 -0600
@@ -19,7 +19,7 @@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
-DESTDIR=
+DESTDIR?=
VPATH=@srcdir@
SSH_PROGRAM=@bindir@/ssh
ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-5.3p1-alt-install-loc.patch
Type: text/x-diff
Size: 373 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev...
2002 Nov 05
0
[PATCH] Add readonly mode to scp, sftp_server
...**************
*** 122,127 ****
--- 122,130 ----
/* This is set to zero if the progressmeter is not desired. */
int showprogress = 1;
+ /* deny client write operations */
+ int readonly = 0;
+
/* This is the program to execute for the secured connection. ("ssh" or
-S) */
char *ssh_program = _PATH_SSH_PROGRAM;
***************
*** 307,312 ****
--- 310,319 ----
exit(errs != 0);
}
if (tflag) {
+ if (readonly) {
+ run_err("permission denied");
+ exit(1);
+ }
/* Receive data. */
sink(argc, argv);
exit(errs != 0);
*** sftp-ser...
2002 May 14
0
[Bug 241] New: When I kill scp, the underlying ssh child process remains alive
...t maru 36-> diff -c openssh-3.1p1*/scp.c
*** openssh-3.1p1/scp.c Tue Mar 5 08:59:45 2002
--- openssh-3.1p1x/scp.c Sat May 4 15:42:50 2002
***************
*** 133,138 ****
--- 133,142 ----
/* This is the program to execute for the secured connection. ("ssh"
or -S) */
char *ssh_program = _PATH_SSH_PROGRAM;
+ /* esb: added the child PID so we can kill it if we get killed */
+ pid_t childpid;
+ static void killchild(int signo);
+
/*
* This function executes the given command as the specified user on the
* given host. This returns < 0 if execution fails, and >= 0 ot...