Problem with docker and ssh and deploying

I get this error when I trying to deploy

unable to get image 'modul5__mod5_prod-web': error during connect: Get "http://docker.example.com/v1.54/images/modul5__mod5_prod-web/json": command [ssh -l root -o ConnectTimeout=30 -T -- xxx.xx.xxx.xx docker system dial-stdio] has exited with exit status 255, make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed.

but if I try this command in wappler terminal

ssh -l root -o ConnectTimeout=30 -T -- xx.xx.xx.xx docker ps

Then I get this answer

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
636d1487df88 modul5__modul5_prod-web "docker-entrypoint.s…" 26 hours ago Up 26 hours 3000/tcp modul5__modul5_prod-web-1
29517bfb744e modul5__mod5_prod-web "docker-entrypoint.s…" 5 days ago Up 6 hours 3000/tcp

So the ssh works from terminal but not when I deploy to the same server.

I have had this problem a long time and cant find out why. The only thing I know is that docker was automatic updated by winget when this problem occured. Sometimes it seems like the docker is geting the wrong username “c:\users\xxx” insted of the right “c:\users\xxx.HJEMME” (This machine has been in a windows domain system one time)