[ntp:questions] Generating keys for ntpdc control

Danny Mayer mayer at ntp.isc.org
Sat Jul 5 03:04:20 UTC 2008

Bob wrote:
> "Steve Kostecke" <kostecke at ntp.org> wrote in message 
> news:slrng6qrhj.tjt.kostecke at stasis.kostecke.net...
>> On 2008-07-03, Bob <bobsjunkmail at bellsouth.net> wrote:
> <chop>
>> It should have looked like:
>> ntpdc> restrict noserve
>> Keyid: 678
>> MD5 Password:
>> ***Permission denied
>> ntpdc>
> There's not really a space in the file name. Type in Dos / Windoze is 
> similar in function to cat in *nix.. Basically, I did a cat ntp.keys. I've 
> got something called filemon that shows file system activity. I see ntp.keys 
> being read by ntpd upon restart. I never see ntpdc touch the ntp.keys file - 
> not sure if it's supposed to. Also, it appears from your example, which I 
> assume is from BSD / Linux / Mac, that ntpdc is supposed to prompt for a 
> password. The windows version says nothing after you respond to Keyid. If 
> figured you have to enter a password (key contents?) because it does say 
> "Invalid password" if you press enter at the flashing cursor after Keyid.

That might be a bug in the Windows environment. You should enter a bug 
report on this.


More information about the questions mailing list