Move ssh host keys to new install

Hi all,

I am about to move from an omnibus (ce) install to a docker one. I’ll need the new install to present the same ssh host keys as the old install. Following the instructions, I have a docker-compose.yml file without any reference to /etc/ssh (so simply copying the keys won’t work).

Does anyone know how to best do this?

thanks

for what it’s worth - I don’t know how I missed this:

The keys are sitting in /etc/gitlab (which obviously is a volume) … it’s enough to move the host keys to there and restart the server.