× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Call Pgm(QP2SHELL) Parm('/QOpenSys/usr/bin/sftp' '-b'
'/TMP/sftpBatchFile.TXT' 'Omegasonics-scotty@xxxxxxxxxxxxxx:2222')

Chris Bipes
Director of Information Services
CrossCheck, Inc.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Friday, April 13, 2018 11:43 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: ssh configuration for sftp execution

So we are attempting to setup invoking sftp on our iSeries.

Ultimately, I know I'll call the sftp pgm similiar to the following...

Call Pgm(QP2SHELL) Parm('/QOpenSys/usr/bin/sftp' '-b'
'/TMP/sftpBatchFile.TXT' 'Omegasonics-scotty@xxxxxxxxxxxxxx')


However, if I call it now, I get a "connection timeout"... I do know that
I also need to connect to the host using port 2222 also, but not sure how
to specify that.


Has anyone recently jumped through these hoops and able to guide me on what
I need to do to configure this. Yes, there is pretty good info out there
that I began studying (especially by Klement), but was hoping to get a
short-cut so to speak to the nitty gritty. :)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.