Thanks again for all of the input.
For anyone playing along, here are some things I have stumbled over. There
may be ways around them but I didn't dig to find the answers. If anyone has
the answer, please feel free to pass it on.
1) ssh exists in Windows 10 but it only works with the iSeries (not sure
about other systems) when run in PowerShell. I could not get it to work
with command, with or without admin.
2) If there is a $ in your library or program name, the call fails. All of
my development libraries begin with a $ so I can do a backup of $*.
3) It does not like the "(" when trying to specify "parms() for the call".
4) I was able to pass a single parm ('system "CALL MSSUTILS/HELLOWORLD
John"') but did not figure out how to pass multiple parms.
5) When passing a parm, it converted it to uppercase...in the above call,
John became JOHN.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of John
Yeung
Sent: Friday, February 1, 2019 5:28 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Calling a program on the i via OpenSSH
On Fri, Feb 1, 2019 at 3:26 PM <smith5646midrange@xxxxxxxxx> wrote:
My end goal for this request is for a Windows server to connect to an
IBM I and issue the command and receive the results without any user
intervention via a "windows script".
OK, great. So what is your plan on the Windows side of things? Is it other
people developing the Windows script, and they are telling you that they
want SSH?
Or will you be responsible for the Windows script as well?
If it's other people, do you happen to know what they are using to develop
the script?
John Y.
--
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@xxxxxxxxxxxx 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.