Set pwdsn to a DD

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
mdgilmore
Posts: 2
Joined: Thu Dec 08, 2016 12:28 pm

Set pwdsn to a DD

Post by mdgilmore » Wed Oct 03, 2018 1:59 pm

We will be using another product that contains passwords in a Vault. The SFTP users will run a set prior to SFTP to retrieve the password and put it in a passed DSN:
//CREDOUT DD DSN=PASSWORD.FILE,DISP=(NEW,PASS,DELETE)

Can I set pwdsn in the SFTP step to read the PASSWORD.FILE from the DD:CREDOUT ?

dovetail
Site Admin
Posts: 1848
Joined: Thu Jul 29, 2004 12:12 pm

Re: Set pwdsn to a DD

Post by dovetail » Thu Oct 04, 2018 8:55 am

It is not possible to use a DD to reference a password data set.
This is because it is the IBM OpenSSH client process that invokes the SSH_ASKPASS program to produce a password and this process is run in a separate OMVS address space.

Post Reply