On Wed, Dec 7, 2016 at 9:41 AM, John McKown <[email protected]> wrote:
> On Wed, Dec 7, 2016 at 9:37 AM, Kirk Wolf <[email protected]> wrote: > > > With openssh ssh or sftp commands, a password (or pass phrase) has to > > either be read from a tty or you can use an SSH_ASKPASS program. You > > can't pipe it in as suggested earlier in this script. > > > > Do you have an example of using SSH_ASKPASS? I tried, on z/OS 1.12, and > failed. > > > Yes: > > > > > PS> examples of using passwords in batch / jcl scripts can be found in > the > > Co:Z sample JCL, which is available free to use. > > > > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
