[ntp:questions] moving from ntpdc to ntpq

Harlan Stenn stenn at ntp.org
Fri Feb 27 08:50:31 UTC 2015


catherine.wei1989 at gmail.com writes:

> Hi, if I add :config in front of addpeer, it seems that an
> authentication is required. When I specify the keyid to 0, it said
> "invalid key identifier".

If you are going to use :config you will need to specify a 'controlkey'
entry in your ntp.conf file (see the ntp.conf man page) and create a
corresponding key in your ntp.keys file
-- 
Harlan Stenn <stenn at ntp.org>
http://networktimefoundation.org - be a member!


More information about the questions mailing list