We've decided to bite the bullet and move to openSSH.

Server migration will be delayed but it's a more solid solution.



-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Bobby Adams
Sent: Thursday, July 1, 2021 5:03 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Client Access RunRmtCmd - Windows Server 2012

Yes, Windows firewall, sorry.

The user passed as a parm is defined on both the IBM i and the Windows
server and the password is the same on both systems.

When we have had problems it has been with authorities on the Windows
server.  Having the user in the Admin group wasn't enough.  We have had
to explicitly give authority to each folder needed by the scripts.

It's been a while since we have been through that but that's how I
remember it.

Regards,

Bobby

On 6/30/2021 00:13, Roger Harman wrote:
Are you referring to Windows Firewall? I'm not sure that is running but will check.

User and password get passed as parms in RunRmtCmd so I'm not sure what you're referring to.

User supposedly has full admin rights on that server.


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Bobby Adams
Sent: Tuesday, June 29, 2021 5:34 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Client Access RunRmtCmd - Windows Server 2012

We are running it on 2012R2.  A couple of things to keep in mind.  Make
sure cwbrxd.exe is allowed through the firewall, the user and password
are the same on the IBM i and the Windows server, and check permissions
on the Windows server for that user.

Hope that helps.

Regards,

Bobby

On 6/28/2021 17:48, Roger Harman wrote:
I know we need to move to OpenSSH for this, but I need to buy some time - a LOT of programs to modify to get there.

We have to replace an older server with 2012R2. Client Access has been installed and the incoming service is active.

Every time I try to run a command or BAT file, I get this response in a spool file:
"The remote command has produced no output."

Redirecting output to a file on the server proves the task is not being executed.

Has anyone here successfully implemented RunRmtCmd on Server 2012R2?

Thanks.



Roger Harman

COMMON Certified Application Developer - ILE RPG on IBM i on Power






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.