Re: VM vs production
It's unlikely that the host key is the culprit. Post logs from GUI for comparison.
Also enable password logging and compare GUI and code logs to double check that you use the same password in both cases.
Also enable password logging and compare GUI and code logs to double check that you use the same password in both cases.