On Thu, Apr 23, 2020 at 4:59 PM Alan Shore via MIDRANGE-L
<midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
https://scottklement.com/presentations/Setting%20up%20and%20Scripting%20the%20OpenSSH,%20SFTP%20and%20SCP%20Utilities%20on%20IBM%20i.pdf
https://scottklement.com/openssh/
Scott's stuff is always among the best for IBM i.
One thing that you often hear (including in Scott's presentation) is
that if you're using passwords (as opposed to keys), you have to use
Expect to "scriptify" the interactive process.
This is not correct. At least it hasn't been for some time, though
Expect is definitely the traditional way to handle it.
There are other options today. The easiest might well be a program
called `lftp`. This is from the Unix/Linux world but it's been ported
to PASE and is trivially installable for free via `yum` either at a
PASE command line or through Access Client Solutions.
Another free option, also on PASE, is to use Python. It's also
installable via `yum` or ACS. You would additionally need to install
at least one third-party Python package, such as `pysftp`, using
`pip`.
If you've never heard of `yum` or `pip`, don't be afraid of them. They
are almost stupidly easy to use. If you've never used Python before,
there is a certain amount of learning involved, but it's one of the
most approachable languages out there, and is staggeringly useful once
you are comfortable with it.
As for commercial options, GoAnywhere was mentioned in the other fork
of this topic. Another choice is ARP-SFTP from Arpeggio Software.
Either should prove solidly capable, if you're willing to pay for
them.
John Y.
As an Amazon Associate we earn from qualifying purchases.