SSH

Environment Variables for Client Applications

The environment variables _CEE_RUNOPTS, _BPXK_AUTOCVT, _BPX_SHAREAS, and _BPX_BATCH_UMASK must be set as shown in SSHENV and sshsetenv when running Tectia client tools for z/OS programs (see below).

The NAME=VALUE format (as in SSHENV) is used when the client or server programs are run under MVS, and the Bourne shell format (as in sshsetenv) is used when the programs are run from a USS command line.

The umask value given in the environment variable will be used if the server configuration file ssh-server-config.xml does not have a umask defined for the sftpg3 subsystem.

[Note]Note

The environment files must not contain line numbers or reading them will fail.

SSHENV:

_CEE_RUNOPTS=FILETAG(AUTOCVT,NOAUTOTAG),TRAP(ON)
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=NO
_BPX_BATCH_UMASK=0022
SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
SSH_MVS_CONSOLE=YES
_BPXK_JOBLOG=STDERR

sshsetenv:

_CEE_RUNOPTS="FILETAG(AUTOCVT,NOAUTOTAG),TRAP(ON)"
export _CEE_RUNOPTS
_BPXK_AUTOCVT=ON
export _BPXK_AUTOCVT
_BPX_BATCH_UMASK=0022
export _BPX_BATCH_UMASK
_BPX_SHAREAS=NO
export _BPX_SHAREAS
SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
export SSH_DEBUG_FMT