Timesyncd with NTP server using md5

Michael asked:

I have a FreeBSD server used as an NTP server with md5 as authentication.
If I want to connect to it from a FreeBSD/Linux machine which has ntpd, I can simply add something along the lines of server 192.168.1.1 key 10 in /etc/ntp.conf and then specify the server sided key in /etc/ntp/keys.

But how would I do this on a server like Proxmox which has timesyncd?
Should I uninstall timesyncd and get ntpd. I’m not exactly sure if timesyncd allows syncing over NTP with md5.

My answer:


systemd-timesyncd is (currently) very simple and doesn’t support sending authentication keys to a remote NTP server. At the time of writing, its only configuration options are for the addresses of the NTP servers it should contact.

Consider either syncing to public NTP servers, or securing access to your NTP servers in another way, such as with a firewall. You might also submit a feature request.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.