Your browser does not allow storing cookies. We recommend enabling them.

SSH

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 /opt/tectia/doc/zOS/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='',WTORCS='1,11'
//TECTIASP EXEC PGM=BPXBATSL,
//             REGION=0M,
//             TIME=NOLIMIT,
//             PARM=('PGM /opt/tectia/etc/init.d/ssh-socks-proxy
//             &F foreground &WTORCS &OPTS')
//STDENV   DD  DSN=&SYSUID..SSZ.SRVR63.PARMLIB(SSHENV),
//             DISP=SHR
//STDOUT   DD  SYSOUT=*
//*STDERR   DD  SYSOUT=*
//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.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more