If I recollect correctly, we had both the userid and password in an encrypted file that duirng the file transfer job was decrypted to a VIO dataset that was used as the input to the data transfer facility.

What Line limit are you dealing with?  72 or larger?

At 03:19 PM 10/8/2021, Billy Ashton wrote:
Content-Transfer-Encoding: 7bit

Hi all! I see we have been talking some about FTPS, so now I want to spin the letters around for SFTP with an easy question-I hope!

Does anyone have a batch job/JCL that they use for SFTP that hides a user/password? I have looked for some hours at Google, and everything I see has the user and password in clear text. I am looking for something like the NETRC file, or some other method you folks use for running SFTP in BPXBATCH.

Also, I could be running up against the line limit for a single line SFTP command with my different options (I am specifying particular ciphers), and wonder if there is a way to make SFTP a multi-line command.

Thanks for all your help!
Billy

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to