This is probably not going answer your question. Linux Windows admin prefer to 
turn off password authentication on SSHD. Using shared keys would be a 
preferred approach. Afaik till openssh 7.6 password authentication was not 
allowed on Z/OS but I could be wrong or things could have changed. You can 
modify the source and rebuild if required. 
     On Friday, October 8, 2021, 01:19:40 PM PDT, Billy Ashton 
<bill00ash...@gmail.com> wrote:  
 
 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