Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Convert general FTP script to use SSH for secure file transf

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: New Delhi

PostPosted: Mon Dec 29, 2008 5:57 pm    Post subject: Convert general FTP script to use SSH for secure file transf
Reply with quote

Please help if I need to convert FTP scripts running on MVS to use SSH to enable a secure file transmission from mainframe to Unix system.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7992
Location: Bellevue, IA

PostPosted: Mon Dec 29, 2008 6:30 pm    Post subject:
Reply with quote

First, find out if SSH is available on your mainframe -- it is not a requirement of z/OS and has to be installed separately. If it's not available, you're not going to be able to do this without getting your system support people to install it. If it is available, your system support people can tell you the details of how it is set up on your system.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Dec 29, 2008 8:49 pm    Post subject: Reply to: Convert general FTP script to use SSH for secure f
Reply with quote

Robert, didn't I see in another topic on SFTP that you posted some notes about it not being for use outside of a z/OS-to-z/OS transfer?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7992
Location: Bellevue, IA

PostPosted: Mon Dec 29, 2008 9:24 pm    Post subject:
Reply with quote

Kevin: yeah, that's the other side of the coin -- from the manual:
Quote:
Due to limitations in the SECSH protocol with regards to EBCDIC platforms, sftp used with OpenSSH protocol version 1 is only supported from z/OS to z/OS.
So to go to a "Unix system" (whatever the original poster meant by that -- Sun, HP/UX, Linux on z, and so forth), you have to be running the right version of OPENSSH on the z/OS system: it appears APAR OA10315 might do the upgrade although I can't be sure since we're not running this at our site.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Fri Sep 09, 2011 7:31 pm    Post subject:
Reply with quote

Hy there,

first of all: we talk about protocol version 2, because then you are able to use ssh to connect to any other server, i.e unix, linux, aix, windows ad and
of course other mainframes as well.

you must prepare ssh, for you will be able to connect.
thus you have to decide, how you want to verify your keys, passphrases etc.
--> rsa-id, dsa-id, additional passphrases and so on...

if you need more information, read the IBM manual
IBM Ported Tools for z/OS. If you have z/OS v1.11 or less, then
you have the Ported Tools v1.1, if z/OS v1.12 or higher a new
upgraded version of Ported Tools v1.2 is available.
this includes all the features of openSSH....

kind regards,

martin9
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us