Set new password for ssh root and SSD

I seem to have set a password for the root user via SSH sometime ago. Of course I’ve forgotten it. Does anybody know a method to reset the password.

Btw I can access the docker HA ssh but I need wider access to the hardware.

I have an SSD to add to the difficulty.

You mean you want access to port 22222?
That one doesn’t use passwords, only keys