If that’s already the case then your script doesn’t do anything and I’d suggest removing it.
You do need to mount that cont-init.d in your docker so openhab can see it.
Then add this script in there to install ssh
#!/bin/sh
apt-get -qq update
dpkg --configure -a
apt-get -qq install -y openssh-client
But I’m confused, sorry I haven’t re-read everything back and I’ve forgotten from before.
Do you need to connect TO your openhab (in docker) or do you need to connect to another host FROM openhab?
If it’s the latter, you don’t need to set your sshHost to 0.0.0.0 - that’s just unnecessarily exposing it to the network.