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.
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 Appendix Example of Distributing Keys.
For unattended file transfer examples, please see Appendix Examples of Use.