SSH restart Linux system using reboot command

‮ww‬w.lautturi.com
SSH restart Linux system using reboot command

To restart a Linux system using the reboot command over SSH, you can use the following steps:

  1. Connect to the Linux system using SSH. You will need to use a tool such as ssh or putty to connect to the system using the appropriate credentials.

  2. Once you are logged in, enter the reboot command. This will initiate a system restart.

  3. The system will ask you to confirm the restart by prompting you with the message "Broadcast message from [user]@[host] ([timestamp]): The system is going down for reboot NOW!". To confirm the restart, enter "Y" and press Enter.

  4. The system will then begin the restart process, and you will be logged out of the SSH session.

It's important to note that the reboot command should only be used when it is safe to restart the system, as it can cause data loss or corruption if used improperly. If you are unsure whether it is safe to use the reboot command, it may be best to consult with a system administrator or refer to the documentation for your Linux distribution.

Created Time:2017-10-30 14:27:17  Author:lautturi