Displaying 20 results from an estimated 800 matches similar to: "[PATCH] scp -S support"
2000 Oct 11
2
scp -L option
Hi there,
I have a need to have scp pass the -P option to ssh
to "bypass" the packetfilters that doesn't allow connections
to return to arbitary "priviledged" ports, ie. ports <1024.
See attached context sensitive diffs against 2.2.0p1
to please integrate.
Thanx
Hendrik Visage
-------------- next part --------------
*** 1.1 2000/10/11 13:31:45
--- scp.c 2000/10/11
2000 Jul 07
0
Patch to add scp -L option
Here is a patch to scp made against openssh-2.1.1p2 that adds the -L option to
scp. The -L option tells scp to use nonprivilaged ports (by passing ssh the -P
option). The non-free ssh's scp has this option, and it is required under some
firewall setups (like mine) for scp to function.
Please let me know if there are any problems with this patch, or if there is
anything I can do to help get
2000 Dec 12
1
scp and filenames with weird characters
I've experienced some troubles using scp with remote files with spaces,
amphersands or parantheses in their filenames on Linux hosts.
This happens:
stain at false:~$ scp "bender.linpro.no:blapp blapp" .
scp: blapp: No such file or directory
scp: blapp: No such file or directory
stain at false:~$ scp "bender.linpro.no:blapp&blapp" .
bash: blapp: command
2001 Oct 16
6
program-prefix does not work
the configure option --program-prefix does not work although it is
listed in teh configure --help output.
The attached patch fixes these issues:
1) program prefix is not substituted in configure
2) program prefix is not present in Makefile
3) scp requires use of a known "scp" program
-- bryan
diff -cr openssh-2.9.9p2.orig/Makefile.in openssh-2.9.9p2/Makefile.in
***
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
Hi there,
I've written some enhancements to scp.c and pathnames.h to enable the scp
to arbitrarily set the remote scp path.
(eg $ scp -e /usr/bin/scp foo user at bar:foo)
I did read the "scp: command not found" FAQ entry but I'm not quite sure
why we can't do this, unless it's because enhancements to scp are no
longer a priority. Any other reason why it "is the
2001 Feb 08
1
username check in scp
Hi
a fellow debian developer pointed it out to me, that ssh itself does not
check the username that is provided for login into a remote host, but
that scp checks it. I could verify that the current openssh code from
cvs still has a check for the username in scp.c but not in ssh.c. So I
created the attached small patch to remove the username check from scp.
I hope ?t's correct and that you
2001 May 12
4
Erase the source file open; specify a tempfile name option
I'm curious how to go about submitting a suggestion that affects both
the original BSD version and the portable release. A few days ago I
sent off a BSD-relative patch to openssh at openssh.com. Is this the right
thing to do? I didn't hear anything back, but it's only been 3 days, so
I'm probably just being too antsy.
In the meantime, maybe someone else out there would like to
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 May 19
0
More scp changes
If you've applied my previous scp patch with the tempfile options and
the erase option, here's a diff that tweaks it a bit more.
Previously I had decided to use getcwd() in a certain local-to-local
special case (that needs to use scp rather than regular cp). This was
because spawing scp via ssh resets the current directory. This patch
choose to forego that in favor of a simpler
2000 Aug 24
0
patch for a few things
This isn't related to the snapshot, but mention of it reminded me to submit
these changes.
I added a few things, and made a couple small changes; here's a list of
what the patch includes:
- adds a "-1" argument to ssh and ssh.1 to force protocol1, similar to
the existing "-2" argument.
- adds "-1" and "-2" to scp and scp.1 as well.
- adds
2006 May 14
1
scp patch to delete source files after copy
At work we have a large collection of scripts to move log
and config files around. These depend on commercial (F-Secure)
ssh/scp, as it supports the -u option to delete the source file
after (successful) copying. That is the sole reason we can't
run openssh on our 150+ unix boxes.
I have attached a patch below, which adds the -u option to
delete the source file after copying, provided there
2012 Aug 19
3
Bug Report and patch fix
Hi
I found this issue in scp in the following blog link
http://oldpapyrus.wordpress.com/2012/08/08/scp-a-funny-error/
when the wrong local file name is specified in local to remote transfer
mode, scp first tries to establish the connection rather than to check
first whether the file is proper or not.
However I could not find a reported bug for this. I am attaching the fix as
patch for this
2000 Dec 18
2
scp remote path specification
Hello,
in order to use "scp", the scp binary has to be in the compile-time
default path on the remote host. For some users (like root), we try to
avoid this since scp may be on a network file system (AFS/NFS), and we
don't want to hang root's session on network outages.
Would a patch to scp be acceptable in the main tree that allows to set
the path to remote scp explicity,
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)
2000 Apr 27
0
Patch for supporting "-L" option in scp
Hi!
I am running Debian with the following package version:
Package: ssh
Version: 1:1.2.3-1
Severity: normal
The "-L" option, to use a non-privileged port, is missing in "scp". Here is a
simple patch that implements this option.
Etienne
--
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc. e-mail: egagnon at
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)
2001 Sep 08
1
force SSH1 and SSH2
This is small patch for scp. It allows to force SSH1 or SSH2.
P.S.: give me Cc: - I'm not subscribed...
--
---------------------------------
pozdr. Pawe? Go?aszewski
---------------------------------
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 @@
2002 Jul 13
0
[PATCH]: scp program improved
Hi,
I have made a patch which improves scp utility. It adds two new features:
rate limit and resume support. With rate limit it's possible to limit
transfer speed. Resume allows to continue file transfer where it was last
interrupted. Also the progress meter was improved.
Here is my patch, please send comments about it and what I can do better
if there is something to fix.
---
2000 Aug 18
0
[PATCH] Support symlinks in scp of openssh 2
I'm fond of the "-a" (archive) option of cp, and I'm a heavy user of
scp, so I guess it's inevitable that I would eventually add support
for "-a" to scp. :-) Actually, it's a "-L" flag for preserving
symlinks, and a "-a" flag that is shorthand for "-Lpr".
Please let me know if I'm not doing this right.... I made a great
2010 Jul 22
2
Feature request: fsh-like functionality
I have recently found the "fsh" program (http://www.lysator.liu.se/fsh/) which offered exactly what I needed. It is a great program but it is not maintained and was even thrown out of Debian because it was claimed that OpenSSH provided anything FSH offers. In fact, however, I miss a few features in OpenSSH that could easily be added inspired by FSH and make a very valuable addition in