[ntp:questions] ntpq authentication problem

catherine.wei1989 at gmail.com catherine.wei1989 at gmail.com
Sun Mar 1 11:45:21 UTC 2015

On Saturday, February 28, 2015 at 4:25:02 PM UTC+8, Jan Ceuleers wrote:
> On 28/02/15 08:48, catherine.wei1989 at gmail.com wrote:
> > I still have a doubt: the key file is generated on my PC (as the first ntp server) , when I copied it to the box(client), and I changed the box's ntp server to a second server "3.cn.pool.ntp.org" or some other ntp servers. The authentication still passes. Why is that?
> ntpq talks directly to the ntpd process over the network. If you run
> ntpq without specifying where the server is located it talks to ntpd on
> localhost. Which time sources ntpd uses is immaterial.

Hi, Jan
I specified the ntp server "3.cn.pool.ntp.org" in the /etc/ntp.conf file. In this case, I run ntpq :config ...   , does it still talk to ntpd on localhost ? and time sources is still "3.cn.pool.ntp.org" ?

More information about the questions mailing list