connectorctl ntp config
To configure the Network Time Protocol (NTP) server, use the connectorctl ntp config command.
connectorctl ntp config { -n comma-separated-list-of-servers | -d }
Syntax Description
Keywords and Variables | Description |
---|---|
-n comma-separated-list-of-servers |
List of NTP servers. Ensure that you separate each server name with a comma. |
-d |
Deletes the current NTP configurations. |
Command History
Release 3 |
This command is introduced. |
Examples
The following example shows how to configure the NTP server:[spacesadmin@Connector3-June2024 ~]$ connectorctl sshd hostkey show
Executing command:sshd
Command execution status:Success
-----------------------
List of supported host Key algorithms is:
hostkeyalgorithms *
Examples
The following example shows how to configure the NTP server:[spacesadmin@Connector3-June2024 ~]$ connectorctl sshd hostkey reset
Executing command:sshd
Command execution status:Success
-----------------------
Successfully reset key exchange algorithms configuration
[spacesadmin@Connector3-June2024 ~]$ connectorctl sshd hostkey remove -a
Executing command:sshd
Command execution status:Success
-----------------------
Removing all unsupported weak algorithms
Successfully removed x509v3-ecdsa-sha2-nistp256,x509v3-ecdsa-sha2-nistp384,x509v3-ecdsa-sha2-nistp521,x509v3-ssh-rsa,x509v3-rsa2048-sha256,x509v3-sign-rsa,,,ssh-ed25519,,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa key exchange algorithm(s)
Examples
The following example shows how to configure the NTP server:[spacesadmin@Connector3-June2024 ~]$ connectorctl sshd hostkey remove -r x509v3-ecdsa-sha2-nistp256,x509v3-ecdsa-sha2-nistp384
Executing command:sshd
Command execution status:Success
-----------------------
Successfully removed ,,x509v3-ecdsa-sha2-nistp521,x509v3-ssh-rsa,x509v3-rsa2048-sha256,x509v3-sign-rsa,x509v3-sign-dss,x509v3-ssh-dss,ssh-ed25519,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa key exchange algorithm(s)