Darren Tucker <dtucker <at> zip.com.au> writes: > > On Tue, May 15, 2007 at 12:36:43PM +0200, Paul de Weerd wrote: > > On Tue, May 15, 2007 at 11:33:27AM +0200, Pieter Verberne wrote: > > | Hi there, > > | > > | does SFTP have no TAB-autocompletion for local/remote files? TAB > > | doesn't work. It makes transferring files very clumsy. And does SFTP > > | secure my username and password or only my file transfers by default? > > > > SFTP uses ssh and thus secures the entire connection. The sftp(1) > > client that comes by default with OpenBSD does not do tabcompletion. > > Feel free to use another client or to write support for it and send a > > patch ;) > > Anyone looking into this would probably want to look at what Ben > Lindstrom has already done with this: > > http://www.eviladmin.org/patches/sftp-tab.patch >
I would just beware of this patch. It works fine for local files, but there are some serious flaws in remote file completion due to the fact that remote-glob() doesn't act like glob() (Read: sftp will crash in some cases). This is a long known bug to me, but I've had very little energy to complete it since I have no real backers nor have had time in the past few years. Just wanted to provide the warning. =-) - Ben