SSH Tectia Server for IBM z/OS uses a separate proces, sft-server-g3 for file transfer operations.
To obtain debug information from sft-server-g3, you can use the environment variables SSH_SFTP_DEBUG, SSH_SFTP_DEBUG_FILE, and SSH_DEBUG_FMT.
When the debugging is enabled, the sft-server-g3 debug messages are by default sent to the standard error, that goes also to the SFTP client. If you want to forward the sft-server-g3 debug messages into a file and not to the client, you can add the following two environment variables affecting the secure file transfer user into the /etc/environment file or the user-specific $HOME/.ssh2/environment file on the server:
SSH_SFTP_DEBUG defines the debug level that controls the messages that the sft-server-g3 process will be showing while executing. To get some debug data, you can use, for example:
To get more details, you can use, for example:
To get even deeper level of detail, you can use, for example: