SSH

Running ssh-socks-proxy as a Started Task

To run Tectia SOCKS Proxy as a started task, you can use the JCL procedure USER.PROCLIB(SSHSP) (note that the name, defined in 0.2 SETO, might differ from this default name) shown below. Before running the job, a user must be created for running the task (as described in Creating the SSHSP User). The user can be created by running the job generated by Tectia SSH Assistant action 1.4 ADDSOXPU.

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.