To run sshd2 as a started task, use a JCL procedure such as
SSHD2
(shown below), by default
USER.PROCLIB(SSHD2)
(defined in 0.2 SETO).
//SSHD2 PROC OPTS='',PORT=
//TECTIA EXEC PGM=BPXBATSL,
// REGION=0M,
// TIME=NOLIMIT,
// PARM=('PGM /opt/tectia/sbin/sshd2 -F &PORT
// &OPTS')
//STDENV DD DSN=<HLQ>
.V650.PARMLIB(SSHENV),DISP=SHR
//STDOUT DD SYSOUT=*
//*STDERR DD SYSOUT=*
//STDIN DD DUMMY
// PEND
Start the server with the following operator command:
===> s sshd2
The sshd2
job starts.
In the Tectia SSH Assistant ISPF application you can manage SSH tasks via submenu 4 TASK. Started tasks may be started, stopped and modified here, provided that the user is properly authorized and that the started task procedure has been generated and installed.
You can control the SSH server (sshd2) via submenu 4.1 TSRV.
To start the server, enter option 4.1.1 TSRVS (Start the SSH server).
You should see the following console message:
SSZ0006I Task sshd2 started