English
To configure [application]*chrony* to connect to a remote instance of `chronyd`, issue a command in the following format:
~]${nbsp}pass:attributes[{blank}][command]#chronyc -h _hostname_pass:attributes[{blank}]#
Where _hostname_ is the host name to connect to. The default is to connect to the local daemon.
To configure [application]*chrony* to connect to a remote instance of `chronyd` on a non-default port, issue a command in the following format:
~]${nbsp}pass:attributes[{blank}][command]#chronyc -h _hostname_ -p _port_pass:attributes[{blank}]#
Where _port_ is the port in use for controlling and monitoring by the remote instance of `chronyd`.
Note that commands issued at the [application]*chronyc* command prompt are not persistent. Only commands in the configuration file are persistent.
The first command must be the [command]#password# command at the [application]*chronyc* command prompt as follows:
chronyc> [command]#password _password_pass:attributes[{blank}]#
200 OK
The password should not have any spaces.
If the password is not an MD5 hash, the hashed password must be preceded by the [command]#authhash# command as follows:
The password or hash associated with the command key for a remote system is best obtained by `SSH`. An `SSH` connection should be established to the remote machine and the ID of the command key from `/etc/chrony.conf` and the command key in `/etc/chrony.keys` memorized or stored securely for the duration of the session.
Additional Resources
The following sources of information provide additional resources regarding [application]*chrony*.
Installed Documentation
`chrony(1)` man page — Introduces the [application]*chrony* daemon and the command-line interface tool.
`chronyc(1)` man page — Describes the [application]*chronyc* command-line interface tool including commands and command options.
`chronyd(1)` man page — Describes the [application]*chronyd* daemon including commands and command options.
`chrony.conf(5)` man page — Describes the [application]*chrony* configuration file.
`/usr/share/doc/chrony/chrony.txt` — User guide for the [application]*chrony* suite.