SSH Tectia Server for IBM z/OS client-side applications can be executed in JCL by
scp2 uses the same syntax for interactive and unattended file transfers.
sftp2 has a batch mode for non-interactive file transfers.
For easier user experience, file transfer client applications can also be run using a file transfer JCL procedure provided in
User interaction is not possible when using unattended file transfers. For unattended use, users must be set up to use a non-interactive authentication method, like a public key without a passphrase.
Because user interaction is not possible, the server host key must be stored on disk on the client before unattended file transfers will succeed. More information about storing the remote server keys can be found in Section Example of Distributing Keys.
For unattended and JCL PROC file transfer examples, see Chapter Transferring Files.
For using Secure Shell to run remote commands or jobs, see the
SSZJSAMP and Appendix Running Remote Commands.
For setting up secure TCP tunneling, see the
SSZJSAMP and Sections Tunneling Example and FTP Tunneling Examples.