zimfarm icon indicating copy to clipboard operation
zimfarm copied to clipboard

During ssh authentication of worker, display clear warning when the time seems not synchronized

Open benoit74 opened this issue 11 months ago • 0 comments

When we are authenticating a worker with POST /auth/ssh_authorize, it is mandatory that the clocks of both systems are synchronized.

If there is a lag, the authentication fails.

Since we are receiving the current datetime, we could log a clear warning in such a situation since it would help, is not coming, and would be very valuable while on-boarding new workers.

benoit74 avatar Feb 27 '24 19:02 benoit74