There is usually an adapter between the hose and the actuator (motor or cylinder).
What I've done in the past, was to partially tap the hole in the adapter, then just use set screws of the same thread with a very small hole drilled (this can be drilled till you find the sweet spot or even do various set screws with difference hole sizes).
Finally install the set screw in the adapter, which will bottom out on the thread, hence why it's a partial thread and won't go all the way through, so it's locked in place. There is not real need for any thread locker or sealant.