How to configure NTP servers via command line

1. In your ssh terminal do the privilege permision

sudo su

2. Access the NTP servers configuration with the following command, you can enter more than one NTP server, just separate by comma.

 orbit ntp --servers=<insert ntp server1,ntp server2> --listen-interface=<insert the network interface name>

3. You will be asked to confirm the procedure, at the end of the execution a confirmation message will be displayed.

image

4. To validate the configuration use the command below:

orbit ntp --show

image