On Jun 26, 10:57 pm, p...@hedeland.org (Per Hedeland) wrote:
> sftp -o "batchmode no" -b /tmp/bat user@host
That did it!!! Thanks very much for your extremely complete and
helpful reply!
> It is also documented in sftp(1) (at least in current versions):
hmmm. Documented poorly IMHO
> -b batchfile
> Batch mode reads a series of commands from an input batchfile
> instead of stdin. Since it lacks user interaction it should be
> used in conjunction with non-interactive authentication.
To me, the word "should" implies a recommendation. But this is more
than a recommendation; -b flat-out does not work with interactive
authentication unless the user specifically does something ELSE to
make it work. It would have been nice if this had been made more
clear (and included mention of the batchmode override).
Anyway, thanks again for the assist!
--
David Filmer (
http://DavidFilmer.com)