SSH

Creating the SSHD2 User

The SSHD2 user is used to run Tectia Server for IBM z/OS. This user must have:

  • An OMVS segment

  • UID 0

  • Read access to the BPX.DAEMON FACILITY class

  • No SURROGATE rights

You can use the ADDSSHD2 JCL located in SAMPLIB to create the SSHD2 user:

ADDSSHD2:

//ADDSSHD2 EXEC PGM=IKJEFT1A,DYNAMNBR=75,TIME=100,REGION=6M
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
  ADDUSER SSHD2 +
    NAME('User SSHD2 for running SSH Tectia server') +
    OWNER(IBMUSER) +
    NOPASSWORD NOOIDCARD +
    OMVS(PROGRAM('/bin/false') UID(0) SHARED)
  PERMIT BPX.DAEMON CLASS(FACILITY) ID(SSHD2) ACCESS(READ)
  SETROPTS REFRESH RACLIST(FACILITY)
/*