LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ntp port blocked - how to set date automatically (https://www.linuxquestions.org/questions/linux-general-1/ntp-port-blocked-how-to-set-date-automatically-597314/)

unkie888 11-05-2007 01:37 PM

ntp port blocked - how to set date automatically
 
Hi,

my ntp port is blocked.... so ntpdate does not work.

can i set date somehow over http?

thx.

unkie888 11-05-2007 02:01 PM

Quote:

Originally Posted by unkie888 (Post 2949094)
Hi,

my ntp port is blocked.... so ntpdate does not work.

can i set date somehow over http?

thx.


i do have ssh access to a server...

unkie888 11-05-2007 02:11 PM

Quote:

Originally Posted by unkie888 (Post 2949110)
i do have ssh access to a server...

this seems to work;

date -u `ssh mycoolserver.co.uk -l myuser 'date '+%m%d%H%M%C%y'' `

:O

jeenam 11-05-2007 04:23 PM

Have you tried using ntpdate with the -u switch to use unprivileged ports?

unkie888 11-06-2007 05:57 AM

Quote:

Originally Posted by jeenam (Post 2949268)
Have you tried using ntpdate with the -u switch to use unprivileged ports?

i did - but it wouldn't 'ave it.


All times are GMT -5. The time now is 07:26 AM.