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.

Tectia

Running ssh-socks-proxy as a Started Task

To run Tectia SOCKS Proxy as a started task, you can use the JCL procedure SSHSP from SAMPLIB (shown below). Before running the job, you need to create a user for running the task as described in Creating the SSHSP User. The JCL must be installed in the procedure library.

SSHSP:

//SSHSP   PROC F=START,OPTS=''
//SOXPROX  EXEC PGM=BPXBATCH,
//              REGION=0M,
//              TIME=NOLIMIT,
//              PARM=('PGM /opt/tectia/etc/init.d/ssh-socks-proxy 
//              &F foreground &OPTS')
//STDENV   DD   DSN=&SYSUID..SSZ.SRVR625.PARMLIB(SSHENV),
//              DISP=SHR
//STDOUT   DD   SYSOUT=H
//STDIN    DD   DUMMY
//        PEND

Start the SOCKS Proxy with the following operator command:

== > s SSHSP

As an OPTS parameter, you can give parameters that the actual binary accepts, such as -D 2. For example:

== > S SSHSP,OPTS='-D 2'

In the sample SSHSP script above, the SOCKS Proxy is started with the foreground option that disables the daemon mode. With the foreground option, the server does not spawn the process to background.

===AUTO_SCHEMA_MARKUP===