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

  • File transfer from Unix to 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 testfile 
      user@mf_host:/ftadv:D=IBM-1047,C=ISO8859-1/___user.test.file/mem1
    

    OpenSSH sftp:

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

  • File transfer from Unix to 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 testfile user@mf_host:/_test.file/mem1
      

    • OpenSSH sftp:

      sftp> put testfile /_test.file/mem1
      

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