Improving sftp (was Re: BUG: scp -r follows symlinks)

Markus Friedl markus at openbsd.org
Sat Jan 10 04:16:10 EST 2004


this does not belong to ssh(1).

just write a ftp-to-sftp proxy.

On Fri, Jan 09, 2004 at 10:47:24AM -0500, Gregory Seidman wrote:
> On Tue, Jan 06, 2004 at 06:30:16PM +0100, Markus Friedl wrote:
> [...]
> } as has been noted 100 times before:
> } 
> } this would break scp.
> } 
> } adding this to sftp would be fine.
> 
> I consider the main problem with sftp to be its frontend. What I'd
> really like to see is a way to use any old FTP client (I'm fond of
> ncftp) to transfer files over an ssh connection. One idea is to do the
> same sort of thing that the -D flag to ssh does. Consider the -t and -T
> flags (for transfer since both -f and -F are taken):
> 
> ssh -f -N -t 2121 -T 2100 remotehost
> 
> This listens on port 2100 on the remote host and port 2121 on the local
> host for incoming FTP connections. The server should allow any username
> and password (well, that's up for debate) and simply behave as an FTP
> server. I don't remember the FTP protocol that well, but it may be
> necessary to open a second port on each side and either require or deny
> passive FTP; someone who has read up on it more recently than I have can
> comment.
> 
> Any thoughts/comments?
> 
> --Greg
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev




More information about the openssh-unix-dev mailing list