This is a discussion on Re: sftp batch mode and password authentication within the OpenSSH Development forums, part of the Networking and Network Related category; --On Thursday, March 02, 2006 1:01 PM -0500 Chris Rapier <rapier@psc.edu> wrote: > ponraj wrote: &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--On Thursday, March 02, 2006 1:01 PM -0500 Chris Rapier <rapier@psc.edu>
wrote: > ponraj wrote: >> Hi all, >> >> I used to execute ftp in batch mode to dowload files. In my case, >> password authentication is the only way to get remote access. > > Are you saying that you can't use private keys to authenticate? (I have > seen situations here this happens - usually as a result of severe > restrictions on shell access to an archival data store). If that is the > case I don't think you can do this without using something like 'expect' > to control the process. He should be able to use a custom SSH_ASKPASS to do this, although he'll need to make sure the sftp batch job has no controlling TTY. -- Carson _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://www.mindrot.org/mailman/listi...enssh-unix-dev |