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.

SSH Tectia 
PreviousNextUp[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
    /*    
    

PreviousNextUp[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

===AUTO_SCHEMA_MARKUP===