Sftp client improvements

Mats Andersson mats at mindbright.se
Tue Mar 6 18:57:10 EST 2001


On Sat, 3 Mar 2001, Damien Miller wrote:
> On Fri, 2 Mar 2001 mouring at etoh.eviladmin.org wrote:
> > On Fri, 2 Mar 2001, Rachit Siamwalla wrote:
> >
> > > Hmm, i wonder if it would be just better to integrate a full featured
> > > open FTP client in and plug it into an openssh backend / networking
> > >
> >
> > I personally don't know if it's worth throwing it away just to try and
> > shoehorn an existing ftp client.  I think we are better off adding to the
> > current framework.
> That being said - I have tried to make it easy for other to implement
> clients using the sftp code. Most of the client-side protocol stuff is
> in sftp-client.[ch] and there is a fair bit of reusable infrastructure in
> sftp.c.

I've done a fun thing with our sftp code (for our ssh client in java)
which might be something someone wants to try with openSSH aswell. Just
make a "bridge" between ftp and sftp so any ordinary ftp-client can
connect to the "bridge" and "speak" to the sftp-server in the other end
(i.e. implement a simple ftpd whose bottom is doing sftp). It's not a very
complicated hack so I guess it wouldn't be too much work to do on top of
the openSSH sftp code too (especially if it's made with modularity in mind
as you said).

Our ftp to sftp bridge will soon be available, in the next pre-release of
MindTerm (see http://www.mindbright.se/mindterm/).



More information about the openssh-unix-dev mailing list