Junos
Reply
Contributor
Zhoukangle
Posts: 92
Registered: ‎02-22-2011
0
Accepted Solution

the m7i ssh and ntp issue

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!

 


Recognized Expert
JNPRdhanks
Posts: 301
Registered: ‎11-01-2010
0

Re: the m7i ssh and ntp issue

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

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

Follow me on Twitter @douglashanksjr
Contributor
Zhoukangle
Posts: 92
Registered: ‎02-22-2011
0

Re: the m7i ssh and ntp issue

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.

Contributor
Zhoukangle
Posts: 92
Registered: ‎02-22-2011
0

Re: the m7i ssh and ntp issue

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

Super Contributor
Super Contributor
Ulf
Posts: 141
Registered: ‎11-13-2008
0

Re: the m7i ssh and ntp issue

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.
Contributor
Zhoukangle
Posts: 92
Registered: ‎02-22-2011
0

Re: the m7i ssh and ntp issue

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.

 

Juniper Employee
Andy Yu
Posts: 2
Registered: ‎09-29-2010
0

Re: the m7i ssh and ntp issue

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.