Displaying 20 results from an estimated 400 matches similar to: "scp patch to delete source files after copy"
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
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.
---
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
***
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 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 Nov 19
3
File Offsets for SCP (patch)
I don't know if anyone would be interested in this but I'm including a
patch to allow for offsets when transferring files with SCP.
It's pretty simple and assumes the user knows what they are doing (for
example, if transferring with a wild card the offset would apply to all
files). -A is the number of bytes offset from the beginning of the
files. -Z is the number of bytes inset
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
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
Works on my netbsd tinkerbox.
NetBSD 5.0.2 NetBSD 5.0.2 (GENERIC)
It uses rlimit.
Privsep sandbox style: rlimit
I also get warnings during make.
fmt_scaled.c: In function 'scan_scaled':
fmt_scaled.c:84: warning: array subscript has type 'char'
fmt_scaled.c:111: warning: array subscript has type 'char'
fmt_scaled.c:155: warning: array subscript has type 'char'
2002 Jan 30
1
Quick sftp status indicator.
I think my first send was eaten by elm.. Yuck I hate this programm..
Anyawys, first the disclaimer:
This is barely tests, I submit this to the general population, but
I will not submit this for review of rest of the OpenSSH team.
Mainly because it is horrible at best. dealing with alarm() in
a sane way is not fun. It does not compile clean, but works.
IF anyone cares to clean it up..
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
2002 Feb 02
0
Version two of progressbar for scp/sftp
Again, this has been lightly tested. I think there still are a few glitchs.
1. stole progressmeter() from scp.c - clean up and simplified a little
to remove the 'flag' status. It now understands how to initialize itself
and how to terminate itself. Along with a malloced status bar instead
of the original fix width bar.
2. removed all initialization code from scp.c for progressmeter()
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
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
Here is a patch to add the missing scp -1 and -2 options to eliminate
confusion for users familiar with the commercial version of SSH.
This patch and others are maintained on the secure nfs (SNFS) web page:
http://www.math.ualberta.ca/imaging/snfs/
-- John Bowman
University of Alberta
diff -ur openssh-3.0.2p1/scp.c openssh-3.0.2p1J2/scp.c
--- openssh-3.0.2p1/scp.c Sun Oct 21 18:53:59 2001
+++
2002 Feb 06
2
SFTP Status Bar..
This is the LAST version I plan on doing.. If I hear no feed back good
or bad. Then I'll assume I've wasted my time on a feature that people
whine about but don't care to try. This is against 3.0.2pX so it
should be VERY easy for anyone to test.
- Ben
diff -ur openssh-3.0.2p1/misc.c openssh/misc.c
--- openssh-3.0.2p1/misc.c Tue Jul 3 23:46:58 2001
+++ openssh/misc.c Wed Feb 6
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 @@
2001 Sep 27
0
[PATCH] scp fixes
Hi,
The following patch does two things (which you may choose to take
separatly if you don't like one or t'other). Firstly, I add a -1 and
-2 option, since a) it's convenient b) people keep asking for it c)
it's hardly a big fix, nor does it break backwards compatibility and
d) I don't accept any slippery slope arguments.
Secondly, I check for and ignore filenames with \n in
2003 Oct 08
4
OS/390 openssh
Hello Steve, Hello OpenSSH-portable developers,
I am building OpenSSH for our (EBCDIC-based) BS2000 mainframe
operating system, and I noticed you do the same for OS/390.
Because my initial ssh port was based on IBM's OSS port (ssh-1.2.2
or some such), I thought it was fair enough to help with a little
co-operation; we might come up with a unified EBCDIC patch which could
be contributed to
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
2004 Nov 22
1
patch to fix non-echo tty on scp SIGINT
A long-time missing feature (or bug, depending on how you look at it) is
that a Ctrl-C at the password prompt in scp does not restore the
terminal settings, thus dropping you to the command prompt without any
keyboard echo. (A "reset" command will fix it.) This is a pretty
regular occurance for me, and some others I've talked to - usually when
you realize that the scp command you
2013 Jul 29
5
[Bug 2133] New: scp failes between two ends using password authentication
https://bugzilla.mindrot.org/show_bug.cgi?id=2133
Bug ID: 2133
Summary: scp failes between two ends using password
authentication
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: scp