Tectia

Debugging File Transfer

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:

On the client side, it is also possible to use the debug command of sftpg3 to get debugging information. For example, to get basic debugging data, give the command:

sftp> debug "Sftp*=2"

The same debug strings as with SSH_SFTP_DEBUG can also be used.