SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
    Configuring the Server >>
    Authentication >>
    System Administration >>
    File Transfer Using SFTP >>
    Secure File Transfer Using Transparent FTP Security >>
        Introduction to Transparent FTP Security
        Configuring SOCKS Proxy >>
        Creating the SSHSP User
        Running SOCKS Proxy >>
            Starting ssh-socks-proxy Manually under USS
            Running ssh-socks-proxy as a Started Task
            Stopping ssh-socks-proxy
            Reconfiguring ssh-socks-proxy
        Configuring FTP >>
        Examples of Transparent FTP Security>>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Man Pages and Default Configuration Files >>
    Log Messages >>

Running ssh-socks-proxy as a Started Task

To run SSH 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 Section Creating the SSHSP User. The JCL must be installed in the procedure library.

SSHSP:

//SSHSP   PROC F=CONSOLE
//SSHFTP  EXEC PGM=BPXBATSL,
//             REGION=0M,
//             TIME=NOLIMIT,
//             PARM='PGM /opt/tectia/etc/init.d/ssh-socks-proxy 
//             &F foreground &OPTS'
//STDENV   DD  DSN=&SYSUID..SSZ.SRVR6110.PARMLIB(SSHENV),
//             DISP=SHR
//STDOUT   DD  PATH='/tmp/&SYSUID.-SSHSP.out',
//             PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//             PATHMODE=(SIRUSR,SIWUSR)
//STDERR   DD  PATH='/tmp/&SYSUID.-SSHSP.out',
//             PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//             PATHMODE=(SIRUSR,SIWUSR)
//STDIN    DD  DUMMY
//        PEND

Start the SOCKS Proxy with the following operator command:

== > s SSHSP 

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.

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2011 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice