Since you can sign on from Linux you obviously have physical
connectivity.  Can you ping the site from zOS to verify logical
connectivity (to eliminate problems in your TCPIP.PROFILE data, e.g.).

Does sftp not support the NETRC convention the way ftp does which allows
a batch job to connect without user intervention.

-----Original Message-----
From: Jon Brock 
Sent: Friday, February 22, 2008 8:17 AM
To: [email protected]
Subject: Batch job to perform sftp transfer

WE have a need to begin electronically sending data to a state agency
which has formerly received a tape from us.  They have set up an sftp
server on their end and given us the user ID and password they want us
to use.  I can sign on to their site from Windows and from a Linux guest
hosted on our mainframe but I have not so far been able to sign on from
z/OS.  

It is not possible to start an ssh session from within OMVS under TSO.
Presumably, we should be able to start sshd and sign on from a client
session, but that entails some security work which has not been
performed.  (Given the workload on our security guy, I don't look for it
any time soon, either.)  This makes testing and experimenting slow.

Ideally, I would like to be able to set up a batch job that can be run
under scheduler control to transmit this file when it is generated.  If
I am reading the correct information, though, it is not possible to do
this in batch mode using ID/password authentication.  Can anyone say
whether this is correct?  Am I going to need to get the remote server to
add our keys to their setup?  

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to