Junos
Junos

the m7i ssh and ntp issue

05.27.11   |  
‎05-27-2011 05:16 PM

Hi,all,I want to config ssh on my m7i,however,there is a warning,as:

     [edit system services ssh]

  'ssh'   

warning: daemon binary /usr/sbin/sshd not foundcommit complete

what happen?

and I want to check the ntp status,junos said "time out",as:

M7-1# run show ntp status        

 localhost: timed out, nothing received

***Request timed out

however,I can upgrade the ntp status by the command:

M7-1# run set date ntp 10.44.2.81 source-address 10.44.2.243 26

May 17:48:14 ntpdate[28176]: step time server 10.44.2.81 offset -0.000603 sec

 

M7-1# show system ntp   

server 10.44.2.81 version 4;

source-address 10.44.2.243;

Anything wrong with my ntp server and the config of ntp?

 

Thank you very much!

 


6 REPLIES
Junos

Re: the m7i ssh and ntp issue

05.27.11   |  
‎05-27-2011 11:10 PM

Are you using JUNOS-WW?  Might try using the domestic version.

Doug Hanks
JNCIE-ENT #213, JNCIE-SP #875

Follow me on Twitter @douglashanksjr
Junos

Re: the m7i ssh and ntp issue

05.29.11   |  
‎05-29-2011 04:10 AM

Hi,the JUNOS is not the " domestic version",however,the other one M7i can use the SSH,can I do anything make me use the SSH?thank you.

Junos

Re: the m7i ssh and ntp issue

05.29.11   |  
‎05-29-2011 10:07 PM

Hi,I have checked it again,I found that you are right.However,why the ntp request time out?thank you.

Junos

Re: the m7i ssh and ntp issue

05.29.11   |  
‎05-29-2011 11:21 PM

Hi,

 

ntp always seems to have some fun with localhost: We came across an issue where:

 

# show system static-host-mapping

localhost inet 127.0.0.1;

 

was needed to get around another one like this, maybe worth giving it a shot here too?!

 

Or do you happen to have a FWF configured on lo0.x that would prevent local communication (for ntp)? If possible try to deactive this briefly.

 

Best Regards

 

Ulf

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Junos

Re: the m7i ssh and ntp issue

05.30.11   |  
‎05-30-2011 08:08 PM

hi,Ulf,

I checked the config,I am not found the localhost inet 127.0.0.1,and there is a firewall filter on lo0,you can see it in file.

thank you.

 

Attachments

Junos

Re: the m7i ssh and ntp issue

05.31.11   |  
‎05-31-2011 05:19 AM