View Single Post
  #4  
Old 10-03-2007, 04:18 AM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: I can sftp (with password) but not sftp -b - not prompted for password!

In article <1182933599.682123.161180@o11g2000prd.googlegroups. com>
usenet@DavidFilmer.com writes:
>On Jun 26, 10:57 pm, p...@hedeland.org (Per Hedeland) wrote:
>
>> 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.


Well, I was thinking primarily of the "lacks user interaction", which is
pretty definitive - and it's true, but only because the developers
decided to take away the user interaction that was possible earlier!:-)

--Per Hedeland
per@hedeland.org
Reply With Quote