[ntp:questions] Re: specifying key

David L. Mills mills at udel.edu
Wed Dec 10 03:50:25 UTC 2003


Karthik,

May I suggest you read the Authentication Options page in the
documentation? You have a mistaken idea on how the server operates. The
server uses the trustedkey command to specify the active keys it
supports; the client specifies which one on the server/peer line.

Dave

Karthik Palaniappan wrote:
> 
> Hello,
> 
>  I would like to use NTP authentication in Master-Slave unicast mode
> using shared keys. Both the client and server have the same key file.
> The client has the following server command in ntp.conf:
> 
> server 192.168.1.1 key 1
> 
>  How can I specify in the server that key ID 1 should be used in all
> unicast responses? For the peer, broadcast and multicast mode, could
> find the answer (eg: broadcast 192.168.1.255 key 1 ). But for unicast I
> am unable to find the answer. Thank you for your answer.
> 
> Regards,
> Karthik



More information about the questions mailing list