This KB document outlines the configuration steps required to setup a Plex C#/RPG runtime environment with SSH Tunneling to secure client/server communication
CA Plex 7.21 and 7.3
Considering all the integration possibilities across different Plex runtimes (C++/Java/RPG) with C# runtime and to avoid any unforeseen regression, Plex Engineering has built an external application (C#) to automate the SSH Tunneling from Windows to SystemI dispatcher server.
This external application uses SSH.NET (SSH library for .NET) third party to connect to remote server and automate SSH tunneling workflow.
The requirement is to launch/run this newly built application before starting the Plex built C# client that calls Server function on SystemI.
The aforementioned details are specific to C# client, and similar way Plex WinC/Java client can be configured by updating INI/Properties file accordingly.
The respective changes requires in WinC client application INI file for System and Port values as per the SSH Tunneling application's configuration (refer to the screenshot below).
WinC application INI file changes required:
[Remote]
;Settings for the default System i server.
System=localhost
Port=7300
Pick the SSH Tunneling application's configured values (i.e. Local System and Local Port) from the below screen as highlighted and update the WinC client application's INI file for System and Port values accordingly.