Hi all,
We would like to use a single PDS member to hold both user and password with, something like the following format:
host=mymachine
user=myuser
pwdsn=mypassword
port=myport
With current testing we are using 2 separate PDS members, ie:
UTTIH.SFTPQ.USER.PDSDATA7(USER)
host=mymachine
user=myuser
pwdsn="UTTIH.SFTPQ.USER.PDSDATA7(PASSWORD)"
port=myport
Is it possible to just have one member?
SFTP Password Configuration
Re: SFTP Password Configuration
It is not possible to put the actual SFTP password inline in the script that invokes Co:Z SFTP.
Background:
Co:Z SFTP uses z/OS OpenSSH for the low level connection. OpenSSH does not provide a mechanism for the password to be provided by a parameter. Therefore, the password must be put into a data set by itself so that z/OS OpenSSH can obtain it indirectly through an SSH_ASKPASS program mechanism.
For more information on client SSH authentication mechanism, see:
https://dovetail.com/docs/sftp/auth.html
Background:
Co:Z SFTP uses z/OS OpenSSH for the low level connection. OpenSSH does not provide a mechanism for the password to be provided by a parameter. Therefore, the password must be put into a data set by itself so that z/OS OpenSSH can obtain it indirectly through an SSH_ASKPASS program mechanism.
For more information on client SSH authentication mechanism, see:
https://dovetail.com/docs/sftp/auth.html