Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.

SSH

Running the Server

To run the server process sshd2 as a started task, use a JCL procedure such as SSHD2 from /opt/tectia/doc/zOS/SAMPLIB (shown below). The JCL must be installed in the procedure library.

SSHD2:

//SSHD2   PROC OPTS='',PORT=
//TECTIA  EXEC PGM=BPXBATSL,
//             REGION=0M,
//             TIME=NOLIMIT,
//             PARM=('PGM /opt/tectia/sbin/sshd2 -F &PORT
//              &OPTS')
//STDENV   DD  DSN=SSZ.SRVR648.PARMLIB(SSHENV),DISP=SHR 1
//STDOUT   DD  SYSOUT=*
//*STDERR   DD  SYSOUT=*
//STDIN    DD  DUMMY
//         PEND
1

Required environment variables are set here (see Environment Variables)

Start the server from the console with the following operator command:

===> s sshd2 

The sshd2 job starts.

The sshd2 started task can also be started with a user-specified job name:

===> s SSHD2,jobname=own_job_name

Assign the SSHD2 user to the started task by defining the procedure in the STARTED class and entering the user ID in the STDATA segment, for example:

RDEFINE STARTED SSHD2.* STDATA(USER(SSHD2)GROUP(SYS1))
SETROPTS RACLIST(STARTED) REFRESH 

===AUTO_SCHEMA_MARKUP===