On 9/1/2022 12:05 AM, Paul Gilmartin wrote:
Might be possible with either BPXPATCH or BPXWUNIX. Set up your
public-private keypairs on z/OS with ssh-keygen and copy the
public key to Linux.
Yes, that's what I used to do. Something like this:
//SFTP EXEC PGM=BPXBATCH,REGION=8M,
// PARM='SH sftp -b sftpcmds targetid@targetserver'
But like you say (and if nothing has changed over the years), you need
to setup keys. And sftp only worked with USS files so an OCOPY or
similar was needed for z/OS datasets, and some temp USS space.
And I used to use scp too, because it would do the EBCDIC/ASCII
conversion for me.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN