IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert general FTP script to use SSH for secure file transf


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: Australia

PostPosted: Mon Dec 29, 2008 5:57 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 29, 2008 6:30 pm
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

Global Moderator


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

PostPosted: Mon Dec 29, 2008 8:49 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 29, 2008 9:24 pm
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: 290
Location: Basel, Switzerland

PostPosted: Fri Sep 09, 2011 7:31 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top