× 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.



Add
-P 2222
to your command line for the port

Our network folks have us so locked down, I can't even test sftp from our power systems.

Coy Krill
Core Processing Administrator/Analyst
Washington Trust Bank

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

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. :)


Jay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


---------------------------------------------------------------------
This electronic mail message and any attachments may contain confidential or privileged information and is intended for use solely by the above-referenced recipient. Any review, copying, printing, disclosure, distribution, or other use by any other person or entity is strictly prohibited under applicable law. If you are not the named recipient, or believe you have received this message in error, please immediately notify the sender by replying to this message and delete the copy you received

---------------------------------------------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.