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 >>
    Configuring the Client >>
    Authentication >>
    File Transfer Using SFTP >>
    File Transfer Using Transparent FTP Tunneling >>
        Configuring SOCKS Proxy >>
        Creating the SSHSP User
        Running SOCKS Proxy >>
        Using Public-Key Authentication with the SOCKS Proxy >>
        Configuring FTP >>
        Examples of Transparent FTP Tunneling>>
            System-Wide Transparent FTP Tunneling with Fallback
            JCL-Specific Transparent FTP Tunneling
    Tunneling on the Command Line >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
    Man Pages >>
    Log Messages >>

JCL-Specific Transparent FTP Tunneling

In this example Transparent FTP tunneling is configured per FTP JCL job using a SYSFTPD DD statement.

Do the following steps:

  1. Copy the /etc/ssh2/ssh-socks-proxy-config-example.xml configuration file to /etc/ssh2/ssh-socks-proxy-config.xml.
  2. Start the SOCKS Proxy if it is not already running.
  3. Create a new FTP configuration file EXAMPLE.SSHFTP.FTPDATA with the following contents:
    SOCKSCONFIGFILE  EXAMPLE.JCL.SOCKS.CONF
    FWFRIENDLY       TRUE
    
  4. Create a new socks configuration dataset EXAMPLE.JCL.SOCKS.CONF with the following contents:
    sockd @=127.0.0.1 0.0.0.0 0.0.0.0
    
  5. Modify your existing FTP JCL to use SOCKS by adding a SYSFTPD DD statement, for example:
    //FTP       EXEC PGM=FTP,PARM='company.example.com (EXIT=8'
    //SYSPRINT  DD  SYSOUT=*
    //SYSFTPD   DD  DSN=EXAMPLE.SSHFTP.FTPDATA,DISP=SHR
    //SYSIN     DD  *
    userid   passwd
    ascii
    get test.file 'USERID.FTP.TEST'
    quit
    /*    
    

Previous Next Up [Contents] [Index]


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

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