I am posting this as a follow up to what Anil has posted. I work with him. We have created a java service and tried to execute it from a standalone java program and it works. When we do it from Webmethods we get the following error in the sftp server (WinSSHD)
094] WinSSHD 3.28d: Session thread 1009 handling
connection from 192.168.1.13:4173:
The client has been disconnected, we sent the
following disconnect reason:
invalid DH value
The same keys and ids work in standalone mode. We had the same problem when we tried simple password authentication without keys. In that case the standalone java program is working while from WM integration server flow service it does not.