Displaying 20 results from an estimated 300 matches similar to: "Quick sftp status indicator."
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()
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
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 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
2000 Jul 02
1
minor cosmetic bug
The progress metre in scp(1) breaks when the tty is too wide.
This patch is the effortless fix:
###########################################################################
:; diff -u openssh-2.1.1p2/scp.c openssh-2.1.1p2+jhc/scp.c
--- openssh-2.1.1p2+jhc/scp.c Thu Jun 22 07:32:32 2000
+++ openssh-2.1.1p2/scp.c Sat Jul 1 22:15:36 2000
@@ -1176,8 +1176,9 @@
i = barlength *
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
2002 May 14
0
[Bug 241] New: When I kill scp, the underlying ssh child process remains alive
http://bugzilla.mindrot.org/show_bug.cgi?id=241
Summary: When I kill scp, the underlying ssh child process
remains alive
Product: Portable OpenSSH
Version: 3.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: scp
AssignedTo: openssh-unix-dev
1999 Dec 14
2
1.2pre17 scp Input/Output error
Under OpenSSH 1.2pre17 I can duplicate and Input/Output error for scp:
Conditions:
pc36 is a RH6.0/i386 box.
abc.co.za is a RH5.2/i386 box. (private network)
openssh 1.2 pre 17 on both boxes.
Line between them is a 128k leased line. It works between two 10baseT
machines.
If the scrollbar is active, the scp fails, if it isn't active, scp
works. Note that without the scrollbar, the file gets
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
2003 Jan 27
0
[Bug 477] New: progressmeter.c problem requires openbsd-compat/bsd-cray.h change
http://bugzilla.mindrot.org/show_bug.cgi?id=477
Summary: progressmeter.c problem requires openbsd-compat/bsd-
cray.h change
Product: Portable OpenSSH
Version: 3.5p1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo:
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
This is part of some patches to support sectors > 512.
Currently I'm able to boot a Ubuntu kernel but seems that mboot is not working for some reason.
This patch try to fix first stage of extlinux bootloader but have some problems with ADV
Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com>
---
dos/syslinux.c | 2 +-
extlinux/main.c | 36
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
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~
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
2012 Aug 02
0
[PATCH 2/3] ALPHA: first try to fix adv problem
This is part of some patches to support sectors > 512.
Currently I'm able to boot a Ubuntu kernel but seems that mboot is not working for some reason.
This patch try to fix ADV size problem.
Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com>
---
extlinux/main.c | 40 +++++++++++++++++++++++++++++++++++-----
1 files changed, 35 insertions(+), 5 deletions(-)
diff
2001 Feb 18
3
OpenSSH 2.5.0p1 vs. SA_RESTART
Not all OSes have SA_RESTART (for instance, SunOS does not).
Also, for the non-SA_RESTART case in scp.c sa.sa_flags
was not being initialized (noted by dworkin at village.org).
- todd
--- scp.c.DIST Sat Feb 17 17:56:33 2001
+++ scp.c Sat Feb 17 17:57:59 2001
@@ -1224,8 +1224,9 @@
struct sigaction sa;
sa.sa_handler = updateprogressmeter;
sigemptyset((sigset_t *)&sa.sa_mask);
+
2011 Jul 16
1
crash in extlinux/main
Hi,
I found a bug in extlinux/main.c. Writing a bootloader on a file mounted via
/dev/mapper in Lunix it crashed on me with a segment fault.
The bug is here:
if (!ioctl(devfd, HDIO_GETGEO, &geo)) {
Since we are already called with geo as a pointer the & is wrong as the
pointer itself will be overwritten.
This works:
int get_geometry(int devfd, uint64_t totalbytes, struct
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
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
Hi.
Here are the relevant details about the setup:
SunOS 4.1.4
gcc 2.7.2.2
tcp wrappers 7.5
egd 0.6 (doesn't really come into play at compile time)
The following only pertains to the compilation (and linking) stage.
Code and patches are SunOS specific.
-- The following functions are missing in SunOS: strerror, atexit,
memmove. I wrote simple replacements in term of on_exit and bcopy
1999 Nov 21
1
openssh 1.2pre13 on Linux/i386 RH4.2 problems
Can't compile sshd.c because of pam errors. The errors are attached
below, and I apologize for the >75 chars a line. RH4.2, with the
latest updates, runs pam-0.57-5. I could upgrade PAM from source, but
I'd probably break other programs.
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/etc/ssh\" -DSSH_PROGRAM=\"/usr/bin/ssh\"