We configured a connection using OpenSSH as TCP/UDP Service but PAM can't run the application and insert credentials.
If I open the application using cmd, PAM injects credentials. but PAM can't start the application using the same behavior as Putty.
C:\Windows\system32\OpenSSH\ssh.exe is a 64-bit executable and cannot be launched by the PAM client, which is a 32-bit Java application. It also is not a graphical client and needs to run in a CMD window. The arguments in the above screenshot are not quite right either, it should be <User>@<Local IP>.
Release : 3.4
The ssh.exe application is not a standalone SSH client and has to be run from a command line. And since the PAM client is a 32-bit application, it can only launch the 32-bit version successfully. An example of calling a bat file that runs the 32-bit ssh.exe executable is provided below. However, our recommendation is to use the built-in SSH access method, or a graphical SSH client such as PuTTY.
One way to use this client would be as follows: