Re: SFTP and Unix 64 Bit compilation

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 04/26/04


Date: Sun, 25 Apr 2004 20:47:21 -0400

Marc wrote:
> Hi,
>
> i want to compile (GNU 3.2.2 or SUN Forte 7 with 64 Bit settings)
> and run sftp under UNIX 64 Bit systems, but it does not work. Sftp
> can login und store the fingerprint but the ls commando produces a
> core. I debuged and found, that somehow the stack of some functions
> will be corrupted because of an malloc call. I dont know why. I think
> the code is somehow not 64 Bit safe. The same code compiled with GNU
> 3.2.2 or SUN Forte 7 with 32 Bit settings will run fine.
> Did anyone have experience or tried to run sftp with 64 Bit
> compilation?
> It will be fine, if someone could give me a hint.

Do you really need sftp? With "rsync -e ssh", you get a much more flexible
set of tools and the ability to more precisely duplicate a remote set of
files, including the precise duplication of symbolic links and hard links.
With SCP, you can also have some nicely flexible graphical tools that are
broadly availble. With WebDAV over HTTPS, you cat an even more broadly
available set of tools and a tighter control over remote file access,
because you're using the HTTP based, extremely limited directory permissions
rather than trying to deal with the lack of a built-in chroot cage for SSH
use.

I've found sftp to be problematic at best, and frankly prefer using the
other techniques. WebDAV/HTTPS in particular for externally accessible web
materials and rsync for syncing directories.



Relevant Pages

  • Re: Need for SFTP package, including API
    ... They wish to implement SFTP for document transport, ... provides a free sftp server but I can't find a version for Win32, ... or even consider using WebDAV as part of an HTTPS based document ...
    (comp.security.ssh)
  • Re: ssh transfert log "Urgent"
    ... > Why not consider using HTTPS and, say, WebDAV over HTTPS for uploads? ... log, i'm alreayd using scp and sftp frop openssh, and i'm happy with it. ...
    (comp.security.ssh)
  • Re: Encrypted transfers to/from vendors
    ... I know IBMs Boulder site supports HTTPS transfers. ... they also support FTPS or SFTP? ... If you are sending data to ECuRep, it supports HTTP, HTTPS, FTP, FTPS, ... SFTP, and email. ...
    (bit.listserv.ibm-main)
  • Re: Unsecured scripts and site hacking?
    ... How else would you suggest I upload 50MB weekly updates of adult pornography ... SFTP, scp, HTTPS, just to name three off the top of my head. ...
    (comp.lang.perl.misc)
  • Re: iptables und VoIP
    ... Die Leute sollen doch sowieso besser SFTP oder SCP ... WebDAV ist ja speziell für Authoren von Webseiten ... Prev by Date: ... Next by Date: ...
    (de.comp.security.firewall)