Hello everyone,
many thanks to those who replied ...
Mit freundlichen Grüßen / Kind regards / Bien à vous,
Seán Courtney
Mobil : 0172 - 8560663
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Patrik Schindler
Sent: Thursday, 1 December 2022 15:20
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: sFTP on AS400
Hello Sean,
Am 01.12.2022 um 10:25 schrieb Sean Courtney <scourtney@xxxxxxxxxxx>:
up to now I have been sending and receiving EDI related data to and
from remote FTP servers using port 21 (standard FTP)…. Now with
security becoming an issue most Partners are demanding sFTP. I would like to setup
sFTP communication directly from our AS400 without having to implement
workarounds…
First, make sure there is no firewall blocking outgoing attempts to access tcp port 22 of your EDI data host!
sftp is a drop-in replacement for ftp, commands wise. No change needed to your automation. Most likely you'd need to place your automation script member into the IFS, though.
sftp must be called through qsh, because it's a PASE application. This also means, that there is no overdbf required, but a redirection of stdin and stdout from/to the sftp command from/to IFS files. Please search the archive for details, this topic comes up regularly.
Otherwise, platform-independent information to be found in the internet applies.
Here are some general hints:
https://wiki.midrange.com/index.php/SSH
Once you identify specific showstoppers you're dealing with, please ask about them. Do not assume we know what you do, but describe what you did and the precise error messages you get.
Once you have all pieces puzzled together, you're most welcome to do a write-up about the necessary steps into the Midrange Wiki for the next guy wishing a readymade cooking recipe. :-)
:wq! PoC
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.