Deprecation of scp protocol and improving sftp client

Gregory Seidman gsslist+ssh at anthropohedron.net
Wed Aug 5 07:00:23 AEST 2020


I don't understand the concern. I just tried

	sftp remotehost:foo\* .

...and it did exactly what one would expect. It successfully retrieved all
files starting with foo.

It sure looks like globbing Just Works with sftp, so replacing the
underlying implementation of scp to use sftp should also work.

--Greg

On Mon, Aug 03, 2020 at 05:08:28PM +0200, Thorsten Glaser wrote:
> On Mon, 3 Aug 2020, Blumenthal, Uri - 0553 - MITLL wrote:
> 
> > I conjecture that only few of the existing use cases rely on remote expansion. 
> 
> No, this is used all the time.
> 
> scp remotehost:foo\* .
> 
> (Unless rsync is available, but sadly that’s ⓐ GPLv3 and ⓑ not
> universally installed.)
> 
> bye,
> //mirabilos
> -- 
> tarent solutions GmbH
> Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
> Tel: +49 228 54881-393 • Fax: +49 228 54881-235
> HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list