Displaying 20 results from an estimated 500 matches similar to: "[PATCH] Support symlinks in scp of openssh 2"
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
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.
---
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
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
2002 Dec 03
1
scp "Bad address" errors with strange filesystem block sizes
When copying from a remote host to a local filesystem with a strange block
size, allocbuf() in scp.c seems to calculate an incorrect buffer size,
causing the copy loop in sink() to write past the end of the buffer.
For example, with smbfs, the optimal block size is negotiated when the
client connects to the server, and is rarely a power of two. In my case
it is 64560.
This loop in sink() keeps
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..
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()
2003 Apr 21
0
Fix for rcp -r
rcp -r is broken in 4.7 and 4.8. A fix is included below. The
web-based bug interface is currently disabled so I can't open a bug
report. I believe the person that provided the patch to me also
indicated the problem exists in 5.0, but I'm unable to verify that
since I'm only running 4.x. I think they monitor this list so I'll
let them speak up if they choose to.
>--- rcp.c~
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
2002 Sep 25
0
[Bug 403] New: scp generates sparse file when no space left
http://bugzilla.mindrot.org/show_bug.cgi?id=403
Summary: scp generates sparse file when no space left
Product: Portable OpenSSH
Version: 3.1p1
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy:
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 Apr 20
2
scp with files > 2gb
A while back someone posted a patch for scp that updates it to deal with
files > 2gb by using 64 bit offsets as defined by LFS (Large File Sumit).
I belive the patch was tested on Linux but maybe not on other systems
that support largefiles.
I've tried this under Solaris and scp fails with a broken pipe on only the
second write to the pipe between scp and ssh if the file is over 2gb.
If
2001 Apr 13
0
LFS changes...
< This patch is against openssh-2.5.2p2 >
Here's a few lines we changed a while back in "scp.c" to get it to
transfer large (>2GB) file on a 32-bit system using LFS. Obviously,
you don't want the line hard-coded in that sets _FILE_OFFSET_BIT=64,
but perhaps you could make it a configure option. (Is it already
perhaps?)
Do you agree that these lines are neccessary
2006 Mar 17
3
[Bug 1173] scp reports lost connection for very large files
http://bugzilla.mindrot.org/show_bug.cgi?id=1173
Summary: scp reports lost connection for very large files
Product: Portable OpenSSH
Version: 4.3p2
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy:
2005 Oct 11
5
scp bug: newly created dirs do not inherit sgid bit
Dear developers,
I discovered that directories created by scp when recursive
copying into a sgid directory do not inherit the sgid bit. I believe
this is a bug. A patch to fix this is attached.
Regards,
Petr Skovron
-------------- next part --------------
--- scp.c.orig 2005-10-11 16:50:17.000000000 +0200
+++ scp.c 2005-10-11 16:57:25.000000000 +0200
@@ -876,8 +876,12 @@
2006 Apr 16
0
[PATCH] warning: comparison between signed and unsigned in function source@scp.c
Greetings,
Attached patch "fixes" the following warning while compiling with gcc 3.4.5,
openssh 4.3p2 in an AMD64 Linux system, which is triggered by the comparison
between off_t (signed long) and size_t (unsigned long) as shown :
scp.c: In function `source':
scp.c:632: warning: comparison between signed and unsigned
scp.c:639: warning: comparison between signed and unsigned
I am
2001 May 17
6
scp: Problem when source and destination are identical
If the source and destination file are identical, the receiving scp
truncates the file. On the sending end, read() returns 0, and garbage
is sent instead of actual data, and the receiving end puts it into the
file, which at least confuses the users.
--
Florian Weimer Florian.Weimer at RUS.Uni-Stuttgart.DE
University of Stuttgart http://cert.uni-stuttgart.de/
2001 Feb 19
0
[PATCH]: Broken scp -p option
Hi,
I have found an serious problem when using 'scp -rp'. The usage of
the static buffer "namebuf" together with calling `sink()' recursively
results in overwriting the buffer np points to. This in turn results
in a broken call to `ulimits()' and `chmod'.
This patch solves the problem:
Index: scp.c
===================================================================
2019 Jan 19
2
Status of SCP vulnerability
Hello,
I would like to request an update of the progress regarding fixes for the recently disclosed SCP vulnerability (CVE-2018-20685, CVE-2019-6111, CVE-2019-6109, CVE-2019-6110)
It has been stated that CVE-2018-20685 has been patched in november but there are currently no information available on the progress of patches regarding the other CVEs.
Will there be a patched release any time soon?
2017 Aug 04
4
Filter files received on scp server
Hey,
So, I would be looking at type A. Forgive me if my understanding of how OpenSSH operates is not reflective of reality. I am assuming that, the file transfer is happening somewhat logically, with a name being known, content written, blah blah.
>From reading scp.c, it appears that, the client end at least knows the file name so I must assume the server end must be given it.
I am hoping to