I am on z/os v2.2 and I am trying to connect to a server using SSH.
This is the STDIN:
//STDIN DD *
remoteuser="filetransfer"
server="10.xx.xx.xx"
cozsftp $ssh_opts -vvv -b- $remoteuser@$server <<EOB
lzopts mode=text
lpwd
pwd
EOB
The customer says we must use ID & Password. I have read the askpass info but I am not sure
how to set it up. What needs to be updated and is this askpass provided or is it something that needs to be written.
What OMVS/USS files need to be updated and what other changes need to be done for STDIN ?
Thank You
COZBATCH askpass
Re: COZBATCH askpass
Please refer to: https://dovetail.com/docs/sftp/client.html#client-batch
The sample JCL and scripts here show how to use passwords with Co:Z SFTP
The sample JCL and scripts here show how to use passwords with Co:Z SFTP