How to execute host registration for Java Agent API when ksh is not installed on the computer.

Document ID : KB000047582
Last Modified Date : 14/02/2018
Show Technical Document Details


When using Pure Java Agent API, to register a host for a 5.x-type custom pure Java Agent, you must use on UNIX, not smreghost executable, as documented.


By default, the script '' on UNIX is executed by /bin/ksh. The script file contains the below line at the beginning of the file.



If 'ksh' is not available on my computer, how do you execute the script in order to register a trusted host?


CA Single Sign-On SDK 12.5x

OS: Unix/Linux


If 'ksh' is not available on your computer, you may use 'bash' instead in this case as the shell script content is compatible with bash.


Make a backup copy, and change the header line in the file as following (ksh -> bash).


Additional Information:

Agent API Guidance for Java