SFTP between AIX to Mainframe

2018-12-09 Thread venkat kulkarni
Hello Group,

We have some FTP job enabled b/w AIX to MF and now we have requirement to
convert them into SFTP.

But as AIX is ascii and MF is EBCDIC system. How this transfer will work.
Also, currently FTP process use ascii mode to transfer data and SFTP is
available only with binary mode how this whole process will work .

Can you please help.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SFTP between AIX to Mainframe

2018-12-09 Thread Paul Gilmartin
On Sun, 9 Dec 2018 19:34:48 +0300, venkat kulkarni wrote:

>Hello Group,
>
>We have some FTP job enabled b/w AIX to MF and now we have requirement to
>convert them into SFTP.
>
>But as AIX is ascii and MF is EBCDIC system. How this transfer will work.
>Also, currently FTP process use ascii mode to transfer data and SFTP is
>available only with binary mode how this whole process will work .
> 
Check the Co:Z enhancements from Dovetailed.

Or, use ssh which does the translation:
cat AIX.file | ssh zOS "cat >z/OS.file"
Or:
cat AIX.file | ssh zOS "iconv -f ISO8859-1 -t IBM-1047 >z/OS.file"

(And once you set up the ssh keys, you needn't send a password.)

If you replace "cat" with "pax", you can transmit a whole directory hirearchy.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SFTP between AIX to Mainframe

2018-12-09 Thread Timothy Sipples
Or, if the requirement is not for SFTP specifically but to encrypt the
connection, then switch to FTPS.

Please note that encryption is (almost always) a necessary ingredient to
achieve a desired security outcome, but it is rarely sufficient. This data
movement might even be fundamentally incompatible with the desired security
outcome.


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z & LinuxONE


E-Mail: sipp...@sg.ibm.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN