Re: SFTP keeps changing - What do i do?

From: Martijn Bruns (cihl280777_at_hotmail.com)
Date: 09/28/03


Date: 28 Sep 2003 10:58:56 -0700

Nico Kadel-Garcia <nkadel@verizon.net> wrote in message news:<%DVcb.4908$yU5.3587@nwrdny01.gnilink.net>...
> Martijn Bruns wrote:
>
> > Hi again all!
> >
> > I've been getting harassments from various people for the last two
> > days after installing newer versions of OpenSSH. Especially people who
> > like to use batchfiles and batchmode with SFTP are having various
> > problems. Basically, they're getting fed up, and me too, with the
> > whole thing.
> >
> > 1) It looks like SFTP now exits when a command gives an error. You
> > have to give a stupid '-' before the command to prevent this. This
> > breaks compatibility with older versions, which crap out when you give
> > a '-' before the command.
> >
> > 2) The output of "ls" is now different. You have to give it an 'ls -l'
> > to get the long version.
> >
> > We have to maintain about 200 different hosts. We can't just update
> > OpenSSH on all of them every time. Is there something like a
> > compilibility flags or compile option or something?
>
> User "rsync -e ssh" instead of sftp. sftp, like the "privilege
> separation", is a relatively new tool and as you're encountering, is
> still under development.
>
> rsync is your *friend*: not only will it correctly duplicate things like
> symbolic links, but it can be set not to copy the files unless they have
> changed.

Yeah, i know about rsync. It's really nice, for some things.

Sftp does much more than Rsync, though. You can't really use Rsync to
move/remove/rename/touch (etc) files at the other side directly, which
is done quite frequently.

Also, i don't work alone. I'm not at liberty to tell every single
admin in our, rather large, IT organisation that they have to start
using rsync instead of sftp for everything.



Relevant Pages

  • Re: allow psftp or pscp but not ssh
    ... >> wether a user can scp, sftp, rsync, etc. ... Openssh does not support "built-in" chroot'ing. ...
    (comp.security.ssh)
  • Re: SFTP keeps changing - What do i do?
    ... > days after installing newer versions of OpenSSH. ... > 1) It looks like SFTP now exits when a command gives an error. ... > compilibility flags or compile option or something? ...
    (comp.security.ssh)
  • Re: SFTP keeps changing - What do i do?
    ... > days after installing newer versions of OpenSSH. ... > 1) It looks like SFTP now exits when a command gives an error. ... > compilibility flags or compile option or something? ...
    (comp.security.ssh)
  • SFTP keeps changing - What do i do?
    ... It looks like SFTP now exits when a command gives an error. ... OpenSSH on all of them every time. ... compilibility flags or compile option or something? ...
    (comp.security.ssh)
  • SFTP keeps changing - What do i do?
    ... It looks like SFTP now exits when a command gives an error. ... OpenSSH on all of them every time. ... compilibility flags or compile option or something? ...
    (comp.security.ssh)