SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server (M) >>
    Using SSH Tectia Server (M) >>
        Configuration Files>>
        Running the Server >>
        Setting Up a Shell User>>
        Running Client Programs>>
        Handling MVS Datasets>>
        File Transfer Examples>>
            Using SSH Tectia Client on Mainframe
            Using SSH Tectia Client on Unix
            Using SSH Tectia Client on Mainframe
    Troubleshooting SSH Tectia Server (M) >>
    Configuration >>
    Authentication >>
    Application Tunneling >>
    Sample Files >>
    Man Pages
    Log Messages >>

Using SSH Tectia Client on Mainframe

  • File transfer to Unix from a mainframe partitioned dataset member using an advice string for defining the ASCII/EBCDIC conversion. The filename is defined with quotes so a full DSN (dataset name) is used.

    SSH Tectia scp2:

    $ scp2 /ftadv:D=IBM-1047,C=ISO8859-1/___user.test.file/mem1
      user@unix_host:testfile
    

    SSH Tectia sftp2:

    sftp> sput /ftadv:D=IBM-1047,C=ISO8859-1/___user.test.file/mem1 testfile
    

  • File transfer to Unix from a mainframe sequential dataset using a file transfer profile for defining the ASCII/EBCDIC conversion. The filename is defined without quotes so the DSN prefix is added to the filename.

    On the mainframe host, create the file transfer profile configuration file ($HOME/.ssh2/ssh_ftadv_config) that contains a filename-matching profile:

    //.*test\\.file\\(.*\\)$ C=ISO8859-1,D=IBM-1047
    

    After the file transfer profile configuration file is set, the file can be transferred with the following commands:

    • SSH Tectia scp2:

      $ scp2 /_test.file/mem1 user@unix_host:testfile
      

    • SSH Tectia sftp2:

      sftp> sput /_test.file/mem1 testfile
      

Previous Next Up [Contents] [Index]


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

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