SSH, also known as Secure Socket Shell, is a network protocol that provides administrators with a secure way to access a remote computer. It provides a secure encrypted data communications between two computers connecting over an insecure network such as the Internet.
Command to check the server current date and time:
In Linux server, we can use the command prompt to know the current date and time of the server. It can display the current date and time in the already given format. The date and time can be reset by logging into SSH as a root user.
date command is used to check the server current date and time.
Some other commands as follow:
zdump used to echo the time in a specified time zone.
ntpdate is used to set system time but using without sudo will just print time and date.