This is a discussion on Re: FW: openssh 4.0 - sftp batch mode behavior within the OpenSSH Development forums, part of the Networking and Network Related category; Simpson Searcy - ssimps wrote: > Hello, > I just installed the openssh 4.0 for Solaris. The users have reported ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Simpson Searcy - ssimps wrote:
> Hello, > I just installed the openssh 4.0 for Solaris. The users have reported a > difference in behavior when using the batch mode of sftp client. > > Previously they could issue the following command sftp -b batchfile > user@hostname and in the absence of publickey authentication they would > be issued the password prompt and they could enter password and the > process would continue. The old behaviour was buggy: sftp's -b uses ssh's BatchMode config option. From ssh_config(5): > BatchMode > If set to ``yes'', passphrase/password querying will be disabled. > This option is useful in scripts and other batch jobs where no > user is present to supply the password. The argument must be > ``yes'' or ``no''. The default is ``no''. I.e. a sftp client in batch mode shouldn't require any interaction to function. This stops it from blocking or otherwise misbehaving in scripts. If your users need scripted transfers, they can try: sftp user@host < batchfile -d _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://www.mindrot.org/mailman/listi...enssh-unix-dev |