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

SSH

Setting Environment Variables in UNIX

If you want to use the Tectia file transfer clients (sftpg3 and scpg3), set the required environment variables either globally (for all users) in /etc/environment or per user in $HOME/.ssh2/environment.

The simplest way to do this is to copy the contents of SSHENV located in /opt/tectia/doc/zOS/SAMPLIB/ to your environment file. To copy to your user-specific environment file, enter:

> cp /opt/tectia/doc/zOS/SAMPLIB/SSHENV ~/.ssh2/environment

If you want to use sshg3 (requiring the use of shell), set the environment variables included in /opt/tectia/doc/zOS/SAMPLIB/sshsetenv in the user-specific $HOME/.profile (or in any other environment variable file you use).


 

 
PrivX
 

 

 
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