As/400 RUNRMTCMD (cwbrxd.exe)

Hi Experts,

I have to start a remote job from As/400 using RUNRMTCMD, to run a program on a Windows 2012 server.
On some other servers  the program cwbrxd.exe is running, but this 2012 server has "Access Client Solutions" installed, so the cwbrxd.exe is no longer available.

I am aware that this cwbrxd.exe is a security risk, but is there an replacement for this service?
Or do I take an other direction to solve this?
LVL 17
Theo KouwenhovenApplication ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:
cwbrxd (rexecd service) is insecure, and IBM deprecated it.  No replacement is provided in IBM i ACS, and probably won't be since rexecd is inherently insecure.

Alternatives:  

1) Find and load another Windows rexecd service compatible with the version of Windows you are using, and continue using RUNRMTCMD from IBM i.  I think this is a poor choice from a security perspective, but if you have no choice and must support RUNRMTCMD, it is an alternative.

2) Install an sshd server.  For Windows 10, Microsoft has a bundled version of OpenSSH sshd server available, and it appears to be compatible with Windows 2012, though I haven't personally installed it on anything but Windows 10.

https://arstechnica.com/gadgets/2017/12/microsoft-quietly-snuck-an-ssh-client-and-server-into-the-latest-windows-10/

https://winscp.net/eng/docs/guide_windows_openssh_server

You can then use the QSH or PASE "ssh" command to remotely execute commands on Windows.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.