Your browser does not allow storing cookies. We recommend enabling them.


Environment Variables for Server and Client Applications

The environment variables _BPXK_AUTOCVT, _BPX_SHAREAS and _BPX_BATCH_UMASK must be set as shown in <HLQ>.V650.PARMLIB(SSHENV) and sshsetenv (located in /opt/tectia/doc/zOS/samples) when running Tectia Server for IBM z/OS programs (see below). The server startup procedures described in Running the SSH Server (sshd2) set these variables from the STDENV DD.

The format of SSHENV is used when the client or server programs are run under MVS, and sshsetenv is used when the programs are run from a USS command line.


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

SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
export _BPX_BATCH_UMASK=0022
export SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
export _EDC_ADD_ERRNO2=1

The server will do coded character set conversion on request when transferring files. The iconv function is used for the conversion. iconv() uses the following environment variables (it is usually not necessary to change them):


Tells iconv_open(Y, X) which type of a conversion method to set up when there is a choice between "direct" conversion from X to Y and "indirect" X to UCS-2 to Y.


Tells iconv_open() which z/OS data set name prefix to use to find the UCS-2 tables if they cannot be found in the HFS.




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now