Per the usage description, the u...@host parameter needs to be last.
On Thu, Jul 16, 2009 at 1:17 PM, Leonard Sasso<[email protected]> wrote: > Anyone know what is wrong with the following? > > //SFTP EXEC PGM=BPXBATCH, > // PARM=('PGM /bin/sftp -v [email protected] -F /u/home/sa10$ > // .ssh/config') > > > It generated the following: > > .usage: sftp .-vC1. .-b batchfile. .-o option. .-s subsystem|path. .-B > buffer_size. > . .-F config. .-P direct server path. .-R num_requests. .-S > program. host > . sftp [email protected].:file .file... > . sftp [email protected].:dir./... > . sftp -b batchfile [email protected] > > > > I look forward to your response. > > > Note: Please send your emails to our Team email address > ([email protected]) so that when one of us isn't available, a > team mate can respond. > > > Thank You. > > Len Sasso > > > > RDC Operations - Systems Administrator > CSC > Information Technology Infrastructure Services (ITIS) > | p: 518.257-4209 | m: 518.894-0879 | f: 518.257-4300 | [email protected] | > www.csc.com > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. > NOTE: Regardless of content, this e-mail shall not operate to bind CSC to > any order or other contract unless pursuant to explicit written agreement > or government initiative expressly permitting the use of e-mail for such > purpose. > > > > Hal Merritt <[email protected]> > Sent by: IBM Mainframe Discussion List <[email protected]> > 07/16/2009 10:09 AM > Please respond to > IBM Mainframe Discussion List <[email protected]> > > > To > [email protected] > cc > > Subject > Re: z/OS Mainframe - SFTP - Disable Publickey Authentication and only use > Password? > > > > > > > Problem is that we don't actually know what is on the far end. We are only > assuming/speculating that ssh is the vehicle. Further, we don't know the > precise flavor of server software in use on the far end. > > Had a partner site that was 100% positive that they were using ssh. Not > only were they actually using TLS, but the server software claimed to be > RFC compliant but actually only worked with Windows clients. > > I think we all agree that the statement that "... they don't require any > authentication of keys..." doesn't compute. > > A puzzlement :-) > > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Kirk Wolf > Sent: Wednesday, July 15, 2009 5:04 PM > To: [email protected] > Subject: Re: z/OS Mainframe - SFTP - Disable Publickey Authentication and > only use Password? > > ssh (used by sftp) won't work unless *host* keys are exchanged when > the session is setup. The client has a little database of known host > keys and will fail if the server has a different key. A configuration > option allows the OpenSSH client to accept a new host key > automatically, otherwise a interactive user is required to acknowledge > acceptance. > > User authentication can be done in a number of ways, including keys > and password. The password is *never* sent in the clear. > > Kirk Wolf > Dovetailed Technologies > http://dovetail.com > > On Wed, Jul 15, 2009 at 2:53 PM, Hal Merritt<[email protected]> > wrote: >> They may not but the protocol does. That's the way it works. >> >> There's something missing. Maybe they accept FTP in the clear, using > only an ID and password. >> >> >> >> >> >> -----Original Message----- >> From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Leonard Sasso >> Sent: Wednesday, July 15, 2009 11:59 AM >> To: [email protected] >> Subject: Re: z/OS Mainframe - SFTP - Disable Publickey Authentication > and only use Password? >> >> The external site (CMS) has informed us they don't require any >> authentication of keys (public and private). >> >> Thank You. >> >> Len Sasso >> >> >> >> RDC Operations - Systems Administrator >> CSC >> Information Technology Infrastructure Services (ITIS) >> | p: 518.257-4209 | m: 518.894-0879 | f: 518.257-4300 | [email protected] | >> www.csc.com >> >> This is a PRIVATE message. If you are not the intended recipient, please >> delete without copying and kindly advise us by e-mail of the mistake in >> delivery. >> NOTE: Regardless of content, this e-mail shall not operate to bind CSC > to >> any order or other contract unless pursuant to explicit written > agreement >> or government initiative expressly permitting the use of e-mail for such >> purpose. >> >> >> >> Bill Godfrey <[email protected]> >> Sent by: IBM Mainframe Discussion List <[email protected]> >> 07/15/2009 10:56 AM >> Please respond to >> IBM Mainframe Discussion List <[email protected]> >> >> >> To >> [email protected] >> cc >> >> Subject >> Re: z/OS Mainframe - SFTP - Disable Publickey Authentication and only > use >> Password? >> >> >> >> >> >> >> On Wed, 15 Jul 2009 09:52:17 -0400, Leonard Sasso wrote: >> >>>I have a Mainframe Batch Job executing the BPXBATCH program to invoke >> SFTP >>>to transfer a file to an external site. >>> >>>The external site does not require any Authentication. >>> >>>How do I Disable the Publickey Authentication and only use the Password? >>> >>>Below are the Execution JCL, Configuration file and Job Output. >>> >> (rest of message deleted) >> >> Whoever wrote the JCL seems to think that the batchfile indicated by the >> "-b" >> option of sftp can contain a userid and password, but it can't. I am >> puzzled by >> your statement that the external site doesn't require any > authentication. >> Maybe someone at the external site can tell you what that means. >> >> Bill >> >> ---------------------------------------------------------------------- >> 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 >> >> >> ---------------------------------------------------------------------- >> 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 >> NOTICE: This electronic mail message and any files transmitted with it > are intended >> exclusively for the individual or entity to which it is addressed. The > message, >> together with any attachment, may contain confidential and/or privileged > information. >> Any unauthorized review, use, printing, saving, copying, disclosure or > distribution >> is strictly prohibited. If you have received this message in error, > please >> immediately advise the sender by reply email and delete all copies. >> >> ---------------------------------------------------------------------- >> 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 >> > > ---------------------------------------------------------------------- > 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 > NOTICE: This electronic mail message and any files transmitted with it are > intended > exclusively for the individual or entity to which it is addressed. The > message, > together with any attachment, may contain confidential and/or privileged > information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution > is strictly prohibited. If you have received this message in error, please > > immediately advise the sender by reply email and delete all copies. > > ---------------------------------------------------------------------- > 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 > > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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

