My openhab is a docker container. And I did install expect and openssh-client inside the docker.
these are the debug logs
2020-09-25 17:28:21.144 [DEBUG] [dler.UnleashedControllerThingHandler] - Refreshing the Unleased Controller unleashed:controller:paragon
2020-09-25 17:28:21.151 [DEBUG] [ternal.api.model.UnleashedController] - Updating clients cache
2020-09-25 17:28:21.160 [DEBUG] [ernal.context.UnleashedScriptContext] - Loading script as resource: scripts/unleashed-refresh.sh
2020-09-25 17:28:21.167 [DEBUG] [unleashed.internal.api.UnleashedUtil] - Script Resources: bundleresource://269.fwk1741786839/scripts/unleashed-refresh.sh
2020-09-25 17:28:21.183 [DEBUG] [ternal.api.model.UnleashedController] - Creating new UnleashedCliContext using: UnleashedCliInfoContext [username=admin, password= ******, host=192.168.1.16, port=22, acl=openhab]
2020-09-25 17:28:21.187 [DEBUG] [ernal.script.UnleashedScriptExecutor] - Executing: UnleashedCliInfoContext [username=admin, password= ******, host=192.168.1.16, port=22, acl=openhab]
2020-09-25 17:28:21.196 [DEBUG] [ernal.script.UnleashedScriptExecutor] - Executing command: [expect, /openhab/userdata/tmp/unleashed2158681901253518710.sh, admin, *********, 192.168.1.16, 22, openhab]
2020-09-25 17:28:58.860 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler UnleashedControllerThingHandler tried updating the thing status although the handler was already disposed.
2020-09-25 17:29:22.524 [ERROR] [nternal.parser.UnleashedClientParser] - Error parsing clients: String index out of range: -1